Back
CVE-2025-31481
GraphQL query operations security can be bypassed
High7.5EPSS 0.47%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Deferred | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.47% · top 59% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
- affected >= 4.0.0, < 4.0.22
- affected < 3.4.17
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistapi-platform/coreGHSA-cg3c-245w-728m (opens in a new tab)
- Packagistapi-platform/graphqlGHSA-cg3c-245w-728m (opens in a new tab)
References (4)
- https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m (opens in a new tab)x_refsource_CONFIRM
- https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb (opens in a new tab)x_refsource_MISC
- https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568 (opens in a new tab)x_refsource_MISC
- https://github.com/api-platform/core/releases/tag/v3.4.17 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cg3c-245w-728m (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-31481)Record last updated .