CVE-2025-31481highCWE-863

CVE-2025-31481: high-severity vulnerability in api-platform core

GraphQL query operations security can be bypassed

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

21Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 7.5epss 0.5%
In short

A flaw in API Platform Core allows attackers to bypass security rules on GraphQL operations by exploiting the Relay node type feature. This means unauthorized users could perform restricted actions they shouldn't be able to.

Technical detail

The vulnerability exists in API Platform Core's handling of Relay special node types in GraphQL queries, allowing attackers to circumvent configured operation-level security policies. By crafting specially formed queries targeting the Relay node interface, an unauthenticated or unauthorized user can execute restricted operations that should be protected by access control rules.

Summary generated and translated by AI from the official description.
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Using the Relay special node type you can bypass the configured security on an operation. This vulnerability is fixed in 4.0.22 and 3.4.17.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
api-platform · core