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.
No sign of exploitation. No public exploitation artifact known so far.
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.
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.
In the same product, most dangerous first.