{"id":"CVE-2025-31481","published":"2025-04-03T19:20:22Z","modified":"2025-04-08T13:14:36Z","title":"GraphQL query operations security can be bypassed","vendor":"api-platform","product":"core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00475,"percentile":0.41974,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb","tags":["x_refsource_MISC"]},{"url":"https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568","tags":["x_refsource_MISC"]},{"url":"https://github.com/api-platform/core/releases/tag/v3.4.17","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.39},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"api-platform","affectedVersions":[{"vendor":"api-platform","product":"core","versions":[">= 4.0.0, < 4.0.22","< 3.4.17"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-03T19:39:57.000917Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"api-platform/graphql","vulnerableRanges":[">=4.0.0-alpha.1, <4.0.22","<3.4.17",">=4.1.0-alpha.1, <4.1.5"],"patched":["4.0.22","3.4.17","4.1.5"],"from":["GHSA-cg3c-245w-728m"],"provenance":"source"},{"ecosystem":"Packagist","package":"api-platform/core","vulnerableRanges":[">=4.0.0-alpha.1, <4.0.22","<3.4.17",">=4.1.0-alpha.1, <4.1.5"],"patched":["4.0.22","3.4.17","4.1.5"],"from":["GHSA-cg3c-245w-728m"],"provenance":"source"}],"summary":{"text":"API Platform Core, the system for building hypermedia-driven REST and GraphQL APIs, contains a flaw in its GraphQL query operations where security configured on an operation can be bypassed. An attacker reaching the API over the network can exploit this without authentication or user interaction by using the Relay special node type.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:57Z"},"euvd":{"id":"EUVD-2025-9737","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-25575","published":"2023-02-28","fixed":"3.1.3","kev":false},{"cve":"CVE-2023-47639","published":"2025-04-03","fixed":"3.2.5","kev":false},{"cve":"CVE-2025-23204","published":"2025-03-24","fixed":"3.3.15","kev":false,"link":{"from":"CVE-2025-23204","to":"CVE-2025-31481","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:api-platform/core","fromFixed":"3.3.15","toFixed":"3.4.17","daysApart":10}]}},{"cve":"CVE-2025-31481","published":"2025-04-03","fixed":"4.1.5","kev":false},{"cve":"CVE-2025-31485","published":"2025-04-03","fixed":"4.1.5","kev":false},{"cve":"CVE-2026-49858","published":"2026-07-01","fixed":"4.3.8","kev":false},{"cve":"CVE-2026-54164","published":"2026-07-01","fixed":"4.3.12","kev":false}],"package":"Packagist:api-platform/core"}}