Auth bypass in Api-Platform Core
CVE-2025-31481
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.005 · 41.6th percentile
- Published
- 2025-04-03
What to do
- Fixed in
3.4.17- Affected
- 1 affected product
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 41.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Api-Platform Core — versions >= 4.0.0, < 4.0.22, < 3.4.17
Weakness classification (CWE)
References
- https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
- https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
- https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
- https://github.com/api-platform/core/releases/tag/v3.4.17