api-platform/core: is it safe?

Short answer: Version 4.3.12 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer api-platform/core has 8 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

8advisories
0critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2019-1000011Incorrect Access Control vulnerability in api-platform/coremedium6.5>=2.2.0 and <2.2.10 or >=2.3.0 and <2.3.62.2.10, 2.3.6
CVE-2025-31485GraphQL grant on a property might be cached with different objectshigh7.5>=4.0.0-alpha.1 and <4.0.22 or <3.4.17 or >=4.1.0-alpha.1 and <4.1.5 or >=4.0.0 and <4.0.22 or >=4.1.0 and <4.1.54.0.22, 3.4.17, 4.1.5
CVE-2023-25575api-platform/core's secured properties may be accessible within collectionshigh7.7>=3.0.0 and <3.0.12 or >=3.1.0 and <3.1.3 or >=2.6.0 and <2.7.103.0.12, 3.1.3, 2.7.10
CVE-2025-31481GraphQL query operations security can be bypassedhigh7.5>=4.0.0-alpha.1 and <4.0.22 or <3.4.17 or >=4.1.0-alpha.1 and <4.1.5 or >=4.0.0 and <4.0.22 or >=4.1.0 and <4.1.54.0.22, 3.4.17, 4.1.5
CVE-2023-47639API Platform Core can leak exceptions message that may contain sensitive informationmedium5.3>=3.2.0 and <3.2.53.2.5
CVE-2026-54164API Platform Core: Relation IRIs are not type-checked: a related resource can be denormalised as the wrong resource type (type confusion)medium6.5<4.1.30 or >=4.2.0 and <4.2.26 or >=4.3.0 and <4.3.124.1.30, 4.2.26, 4.3.12
CVE-2026-49858API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gatemedium5.9>=2.6.0 and <4.1.29 or >=4.2.0 and <4.2.25 or >=4.3.0 and <4.3.84.1.29, 4.2.25, 4.3.8
CVE-2025-23204API Platform Core does not call GraphQl securityAfterResolvermedium4.4>=3.3.8 and <3.3.153.3.15

Quick answers

Is api-platform/core safe to use?

Version 4.3.12 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is api-platform/core being actively exploited?

None of its 8 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/api-platform/core.svg)](https://phpwarden.io/packages/api-platform/core)