Is api-platform/core 4.1 vulnerable?

Composer · 30 releases from 4.1.0 to 4.1.30 · latest api-platform/core is 5.0.8 · checked 18 Nov 2026

No known advisories in the last release

api-platform/core 4.1.30, the last 4.1 release, has no known advisories. 4 advisories affect earlier 4.1.x releases, so update to 4.1.30.

Update within 4.1: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

Fixed within 4.1.x, affecting earlier releases

  • 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

Every api-platform/core 4.1.x release

Affected: 4.1.0 to 4.1.29. 4.1.30 is not affected. Latest api-platform/core: 5.0.8.

VersionKnown advisories
api-platform/core 4.1.30None
api-platform/core 4.1.29CVE-2026-54164
api-platform/core 4.1.28CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.27CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.26CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.25CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.24CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.23CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.22CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.21CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.20CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.19CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.18CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.17CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.16CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.15CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.14CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.12CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.11CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.10CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.9CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.8CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.7CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.6CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.5CVE-2026-54164, CVE-2026-49858
api-platform/core 4.1.4CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481
api-platform/core 4.1.3CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481
api-platform/core 4.1.2CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481
api-platform/core 4.1.1CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481
api-platform/core 4.1.0CVE-2026-54164, CVE-2026-49858, CVE-2025-31485, CVE-2025-31481

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

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.