{"id":"CVE-2025-31481","aliases":["GHSA-cg3c-245w-728m"],"url":"https://o3.security/vulnerability/CVE-2025-31481","summary":"GraphQL query operations security can be bypassed","details":"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.","published":"2025-04-03T19:20:22.916Z","modified":"2026-08-08T03:48:13.003237186Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"api-platform/graphql","fixedVersion":"4.0.22"},{"ecosystem":"Packagist","name":"api-platform/core","fixedVersion":"4.0.22"},{"ecosystem":"Packagist","name":"api-platform/graphql","fixedVersion":"3.4.17"},{"ecosystem":"Packagist","name":"api-platform/core","fixedVersion":"3.4.17"},{"ecosystem":"Packagist","name":"api-platform/graphql","fixedVersion":"4.1.5"},{"ecosystem":"Packagist","name":"api-platform/core","fixedVersion":"4.1.5"}],"fix":{"url":"https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb","label":"api-platform/core@5571245"},"references":[{"type":"WEB","url":"https://github.com/api-platform/core/releases/tag/v3.4.17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31481.json"},{"type":"ADVISORY","url":"https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31481"},{"type":"FIX","url":"https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb"},{"type":"FIX","url":"https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:48:13.003237186Z"}}