CVE-2025-31481
April 03, 2025
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.
Affected Packages
api-platform/graphql (PHP):
Affected version(s) >=v3.2.0-beta.1 <v3.4.17Fix Suggestion:
Update to version v3.4.17api-platform/graphql (PHP):
Affected version(s) >=v4.0.0 <v4.0.22Fix Suggestion:
Update to version v4.0.22api-platform/core (PHP):
Affected version(s) >=v4.0.0 <v4.0.22Fix Suggestion:
Update to version v4.0.22api-platform/core (PHP):
Affected version(s) >=v1.0.0-beta <v3.4.17Fix Suggestion:
Update to version v3.4.17Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.33