Skip to content
Fencer Intel
high 7.5

CVE-2025-31481 json

GraphQL query operations security can be bypassed

published last yr. modified 4mo ago also EUVD-2025-9737 , GHSA-cg3c-245w-728m

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 41%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist api-platform/graphql 3.4.17, 4.0.22, 4.1.5
  • packagist api-platform/core 3.4.17, 4.0.22, 4.1.5
  • api-platform core 3.4.17, 4.0.22

Is CVE-2025-31481 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist api-platform/graphql
>=4.0.0-alpha.1, <4.0.22
<3.4.17
>=4.1.0-alpha.1, <4.1.5
4.0.22
3.4.17
4.1.5
packagist api-platform/core
>=4.0.0-alpha.1, <4.0.22
<3.4.17
>=4.1.0-alpha.1, <4.1.5
4.0.22
3.4.17
4.1.5

Affected products

  • api-platform core

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.