{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-31481","id":"CVE-2025-31481","title":"GraphQL query operations security can be bypassed","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.","descriptionLong":"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","updated":"2026-10-28T02:30:38.204850939Z","reserved":"2025-03-28T13:36:51.297Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["api-platform core"],"affectedProducts":[{"vendor":"api-platform","product":"core","defaultStatus":null,"versions":[{"version":">= 4.0.0, < 4.0.22","status":"affected"},{"version":"< 3.4.17","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"api-platform/graphql","purl":"pkg:composer/api-platform/graphql","ranges":[">=4.0.0-alpha.1 <4.0.22","<3.4.17",">=4.1.0-alpha.1 <4.1.5"],"fixed":["4.0.22","3.4.17","4.1.5"],"advisory":"GHSA-cg3c-245w-728m"},{"ecosystem":"Packagist","name":"api-platform/core","purl":"pkg:composer/api-platform/core","ranges":[">=4.0.0-alpha.1 <4.0.22","<3.4.17",">=4.1.0-alpha.1 <4.1.5"],"fixed":["4.0.22","3.4.17","4.1.5"],"advisory":"GHSA-cg3c-245w-728m"}],"cwes":["CWE-863"],"aliases":["GHSA-cg3c-245w-728m"],"references":[{"url":"https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/api-platform/core/releases/tag/v3.4.17","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31481.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31481","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/core/CVE-2025-31481.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/graphql/CVE-2025-31481.yaml","tags":["web"]},{"url":"https://github.com/api-platform/core","tags":["package"]},{"url":"https://github.com/api-platform/core/releases/tag/v4.1.5","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00475,"epssPercentile":0.41834,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-31481","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31481","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-31481","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cg3c-245w-728m","ok":true,"note":"GHSA-cg3c-245w-728m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-31481","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}