Is api-platform/core 3.0 vulnerable?

Composer · 13 releases from 3.0.0 to 3.0.12 · latest api-platform/core is 5.0.8 · checked 18 Nov 2026

Yes: 4 known advisories

Yes. api-platform/core 3.0.12, the last 3.0 release, is affected by 4 known security advisories (2 high, 2 medium), including CVE-2025-31485, CVE-2025-31481, CVE-2026-54164. 1 more affects earlier 3.0.x releases. Upgrade to 4.1.30 or later to fix all of them.

Upgrade with:composer require api-platform/core:^4.1.30

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

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/core 3.0.12

  • MediumCVE-2026-54164GHSA-9rjg-x2p2-h68h7 Aug 2026

    API Platform Core: Relation IRIs are not type-checked: a related resource can be denormalised as the wrong resource type (type confusion)

    Affected
    <4.1.30 · >=4.2.0 <4.2.26 · >=4.3.0 <4.3.12
    Fixed in
    4.1.30, 4.2.26, 4.3.12
  • MediumCVE-2026-49858GHSA-pjhx-3c3w-9v2310 Jul 2026

    API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

    Affected
    >=2.6.0 <4.1.29 · >=4.2.0 <4.2.25 · >=4.3.0 <4.3.8
    Fixed in
    4.1.29, 4.2.25, 4.3.8
  • 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

Fixed within 3.0.x, affecting earlier releases

  • HighCVE-2023-25575GHSA-vr2x-7687-h6qv28 Feb 2023

    api-platform/core's secured properties may be accessible within collections

    Affected
    >=3.0.0 <3.0.12 · >=3.1.0 <3.1.3 · >=2.6.0 <2.7.10
    Fixed in
    2.7.10, 3.0.12, 3.1.3

Every api-platform/core 3.0.x release

Affected: 3.0.0 to 3.0.12. Latest api-platform/core: 5.0.8.

VersionKnown advisories
api-platform/core 3.0.12CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481
api-platform/core 3.0.11CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.10CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.9CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.8CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.7CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.6CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.5CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.4CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.3CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.2CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.1CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575
api-platform/core 3.0.0CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481, CVE-2023-25575

Which of your client projects are still on api-platform/core 3.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact api-platform/core version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other api-platform/core 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.