{"id":"CVE-2025-31481","state":"PUBLISHED","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.","publishedAt":"2025-04-03T19:20:22.916Z","updatedAt":"2025-04-08T13:14:36.379Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["api-platform core"],"affected":[{"vendor":"api-platform","product":"core","versions":[{"version":">= 4.0.0, < 4.0.22","status":"affected"},{"version":"< 3.4.17","status":"affected"}]}],"references":["https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m","https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb","https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568","https://github.com/api-platform/core/releases/tag/v3.4.17"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/31xxx/CVE-2025-31481.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-31481","state":"PUBLISHED","datePublished":"2025-04-03T19:20:22.916Z","dateUpdated":"2025-04-08T13:14:36.379Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-03-28T13:36:51.297Z"},"containers":{"cna":{"title":"GraphQL query operations security can be bypassed","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"api-platform","product":"core","versions":[{"version":">= 4.0.0, < 4.0.22","status":"affected"},{"version":"< 3.4.17","status":"affected"}]}],"references":[{"url":"https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m","name":"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","name":"https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb","tags":["x_refsource_MISC"]},{"url":"https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568","name":"https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568","tags":["x_refsource_MISC"]},{"url":"https://github.com/api-platform/core/releases/tag/v3.4.17","name":"https://github.com/api-platform/core/releases/tag/v3.4.17","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-04-08T13:14:36.379Z"},"source":{"advisory":"GHSA-cg3c-245w-728m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-03T19:39:57.000917Z","id":"CVE-2025-31481","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-03T19:40:10.582Z"}}]}}}