High severity · published Apr 3, 2025
CVE-2025-31481
GraphQL query operations security can be bypassed
7.5
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
core · api-platform
>= 4.0.0, < 4.0.22; < 3.4.17 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-31481
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-31481
github.com
https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
github.com
https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
github.com
https://github.com/api-platform/core/releases/tag/v3.4.17
github.com
https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
More from core
7.5
CVE-2025-31485
GraphQL grant on a property might be cached with different objects
6.5
CVE-2026-54164
API Platform Core: Missing IRI type check enables resource type confusion
6.5
CVE-2023-25575
API Platform Core is the server component of API Platform: hypermedia and GraphQL APIs
6.5
CVE-2019-1000011
API Platform version from 2.2.0 to 2.3.5 contains an Incorrect Access Control vulnerability in GraphQL delete mutations that can result in a user authorized to delete a resource…
5.9
CVE-2026-49858
API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate
