Packagist (PHP)Worst: High8 advisories

api-platform/core: known vulnerabilities

api-platform/core has 8 reviewed security advisories in the GitHub Advisory Database — 3 high, 5 moderate. The most recent was published 2026-07-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the api-platform/core versions running across your servers, containers and images, and ranks what to patch first.

How to fix api-platform/core

Upgrade api-platform/core to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require api-platform/core:^4.3.12 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (8)

API Platform Core: Relation IRIs are not type-checked: a related resource can be denormalised as the wrong resource type (type confusion) Moderate 6.5 CWE-843 — Affected: from 4.3.0 up to 4.3.12. Fixed in 4.3.12. Published 2026-07-01. GHSA-9rjg-x2p2-h68h · CVE-2026-54164
API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate Moderate 5.9 CWE-524 CWE-639 — Affected: from 4.3.0 up to 4.3.8. Fixed in 4.3.8. Published 2026-07-01. GHSA-pjhx-3c3w-9v23 · CVE-2026-49858
GraphQL grant on a property might be cached with different objects High 7.5 CWE-696 — Affected: from 4.1.0-alpha.1 up to 4.1.5. Fixed in 4.1.5. Published 2025-04-03. GHSA-428q-q3vv-3fq3 · CVE-2025-31485
GraphQL query operations security can be bypassed High 7.5 CWE-863 — Affected: from 4.1.0-alpha.1 up to 4.1.5. Fixed in 4.1.5. Published 2025-04-03. GHSA-cg3c-245w-728m · CVE-2025-31481
API Platform Core can leak exceptions message that may contain sensitive information Moderate 5.3 CWE-209 — Affected: from 3.2.0 up to 3.2.5. Fixed in 3.2.5. Published 2025-04-03. GHSA-rfw5-cqjj-7v9r · CVE-2023-47639
API Platform Core does not call GraphQl securityAfterResolver Moderate 4.4 CWE-20 CWE-484 — Affected: from 3.3.8 up to 3.3.15. Fixed in 3.3.15. Published 2025-03-24. GHSA-7mxx-3cgm-xxv3 · CVE-2025-23204
api-platform/core's secured properties may be accessible within collections High 7.7 CWE-842 CWE-863 — Affected: from 2.6.0 up to 2.7.10. Fixed in 2.7.10. Published 2023-02-28. GHSA-vr2x-7687-h6qv · CVE-2023-25575
Incorrect Access Control vulnerability in api-platform/core Moderate 6.5 CWE-284 — Affected: from 2.3.0 up to 2.3.6. Fixed in 2.3.6. Published 2019-02-04. GHSA-974j-wjxx-wggj · CVE-2019-1000011

Find api-platform/core across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.