Is api-platform/graphql 4.0 vulnerable?
Composer · 23 releases from 4.0.0 to 4.0.22 · latest api-platform/graphql is 5.0.8 · checked 18 Nov 2026
No known advisories in the last release
api-platform/graphql 4.0.22, the last 4.0 release, has no known advisories. 2 advisories affect earlier 4.0.x releases, so update to 4.0.22.
composer require api-platform/graphql:^4.0.22Is your project on an affected api-platform/graphql?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Fixed within 4.0.x, affecting earlier releases
GraphQL grant on a property might be cached with different objects
- Affected
- >=4.0.0-alpha.1 <4.0.22 · <3.4.17 · >=4.1.0-alpha.1 <4.1.5
- Fixed in
- 3.4.17, 4.0.22, 4.1.5
GraphQL query operations security can be bypassed
- Affected
- >=4.0.0-alpha.1 <4.0.22 · <3.4.17 · >=4.1.0-alpha.1 <4.1.5
- Fixed in
- 3.4.17, 4.0.22, 4.1.5
Every api-platform/graphql 4.0.x release
Affected: 4.0.0 to 4.0.21. 4.0.22 is not affected. Latest api-platform/graphql: 5.0.8.
| Version | Known advisories |
|---|---|
| api-platform/graphql 4.0.22 | None |
| api-platform/graphql 4.0.21 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.20 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.19 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.18 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.17 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.16 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.15 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.14 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.13 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.12 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.11 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.10 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.9 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.8 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.7 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.6 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.5 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.4 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.3 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.2 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.1 | CVE-2025-31485, CVE-2025-31481 |
| api-platform/graphql 4.0.0 | CVE-2025-31485, CVE-2025-31481 |
Which of your client projects are still on api-platform/graphql 4.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact api-platform/graphql version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other api-platform/graphql versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.