{"id":"CVE-2025-23204","published":"2025-03-24T15:53:19Z","modified":"2025-03-24T18:03:54Z","title":"GraphQl securityAfterResolver not called","vendor":"api-platform","product":"core","tier":"tail","description":{"text":"API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Starting in version 3.3.8, a security check that gets called after GraphQl resolvers is always replaced by another one as there's no break in a clause. As this falls back to `security`, the impact is there only when there's only a security after resolver and none inside security. Version 3.3.15 contains a patch for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.38185,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/api-platform/core/security/advisories/GHSA-7mxx-3cgm-xxv3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/api-platform/core/pull/6444","tags":["x_refsource_MISC"]},{"url":"https://github.com/api-platform/core/pull/6444/files#diff-09e3c2cfe12a2ce65bd6c983c7ca6bfcf783f852b8d0554bb938e8ebf5e5fa65R56","tags":["x_refsource_MISC"]},{"url":"https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620","tags":["x_refsource_MISC"]},{"url":"https://github.com/soyuka/core/blob/7e2e8f9ff322ac5f6eb5f65baf432bffdca0fd51/src/Symfony/Security/State/AccessCheckerProvider.php#L49-L57","tags":["x_refsource_MISC"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":7.64},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"api-platform","affectedVersions":[{"vendor":"api-platform","product":"core","versions":[">= 3.3.8, < 3.3.15"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-24T18:03:40.928908Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"api-platform/core","vulnerableRanges":[">=3.3.8, <3.3.15"],"patched":["3.3.15"],"from":["GHSA-7mxx-3cgm-xxv3"],"provenance":"source"}],"summary":{"text":"The flaw is in the GraphQL handling of API Platform Core (api-platform/core), where a security check meant to run after GraphQL resolvers is always overwritten by another check due to a missing break in a clause. An attacker with high-privilege access who can reach the affected GraphQL API can bypass the intended after-resolver authorization when the operation has only a security-after-resolver and no security check inside security, and this requires no user interaction, though the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:51Z"},"euvd":{"id":"EUVD-2025-7991","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-1000011","published":"2019-02-04","fixed":"2.3.6","kev":false},{"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},{"cve":"CVE-2025-31481","published":"2025-04-03","fixed":"4.1.5","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-31485","published":"2025-04-03","fixed":"4.1.5","kev":false,"link":{"from":"CVE-2025-23204","to":"CVE-2025-31485","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-2026-49858","published":"2026-07-01","fixed":"4.3.8","kev":false}],"package":"Packagist:api-platform/core"}}