Is api-platform/graphql 3.2 vulnerable?

Composer · 13 releases from 3.2.1 to 3.2.25 · latest api-platform/graphql is 5.0.8 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. api-platform/graphql 3.2.25, the last 3.2 release, is affected by 2 known security advisories (2 high), including CVE-2025-31485, CVE-2025-31481. Upgrade to 3.4.17 or later to fix all of them.

Upgrade with:composer require api-platform/graphql:^3.4.17

Is your project on an affected api-platform/graphql?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting api-platform/graphql 3.2.25

  • HighCVE-2025-31485GHSA-428q-q3vv-3fq34 Apr 2025

    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
  • HighCVE-2025-31481GHSA-cg3c-245w-728m4 Apr 2025

    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 3.2.x release

Affected: 3.2.1 to 3.2.25. Latest api-platform/graphql: 5.0.8.

VersionKnown advisories
api-platform/graphql 3.2.25CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.12CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.11CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.10CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.9CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.8CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.7CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.6CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.5CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.4CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.3CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.2CVE-2025-31485, CVE-2025-31481
api-platform/graphql 3.2.1CVE-2025-31485, CVE-2025-31481

Which of your client projects are still on api-platform/graphql 3.2?

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.