Home / api-platform / core / CVE-2026-54164
CVE-2026-54164: is it exploited, and which versions of api-platform core are affected and fixed?
CVE-2026-54164 is a type confusion vulnerability in api-platform core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: api-platform/core before 4.1.30, api-platform/core from 4.2.0 before 4.2.26 and api-platform/core from 4.3.0 before 4.3.12 (GitHub advisory GHSA-9rjg-x2p2-h68h). Fixed in 4.1.30, 4.2.26 and 4.3.12 (GitHub advisory GHSA-9rjg-x2p2-h68h). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-54164?
API Platform Core: Missing IRI type check enables resource type confusion
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. In versions prior to 4.1.30, 4.2.26 and 4.3.12, the serializer's AbstractItemNormalizer does not validate the resource type returned when resolving relation IRIs, allowing type confusion where a resource of an unintended type can be silently assigned to a relation property. An attacker who can submit write requests (POST/PUT/PATCH) to an API Platform endpoint with writable relations can supply a relation IRI pointing to a resource of a different type than the relation's declared class. Because getResourceFromIri() does not pass an $operation to IriConverter::getResourceFromIri(), the is_a type guard at IriConverter.php:86 is skipped. For untyped relation properties (legacy @var-only style), the wrong-typed object is silently assigned, corrupting invariants and potentially feeding downstream logic that assumes the declared type (CWE-843). For typed properties (modern PHP 8.x), the substitution is blocked by Symfony's PropertyAccessor with an InvalidTypeException. This issue has been fixed in versions 4.1.30, 4.2.26 and 4.3.12.
From the CVE record by GitHub_M, last updated July 2, 2026, 15:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| api-platform | core | < 4.1.30 >= 4.2.0, < 4.2.26 >= 4.3.0, < 4.3.12 |
As the CVE record by GitHub_M states it, last updated July 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | api-platform/core | < 4.1.30 | 4.1.30 | GHSA-9rjg-x2p2-h68h |
| Packagist | api-platform/core | >= 4.2.0, < 4.2.26 | 4.2.26 | GHSA-9rjg-x2p2-h68h |
| Packagist | api-platform/core | >= 4.3.0, < 4.3.12 | 4.3.12 | GHSA-9rjg-x2p2-h68h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 7, 2026. Summary: API Platform Core: Relation IRIs are not type-checked: a related resource can be denormalised as the wrong resource type (type confusion).
How severe is CVE-2026-54164?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-54164 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 2, 2026)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-843 Access of Resource Using Incompatible Type
Where are the vendor advisories and references?
- https://github.com/api-platform/core/security/advisories/GHSA-9rjg-x2p2-h68h x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 11, 2026
- Published
- July 1, 2026, 19:14 UTC
- CVE record updated
- July 2, 2026, 15:50 UTC by GitHub_M
- NVD
- Deferred, last modified October 25, 2026, 16:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect core?
- Jul 1, 2026CVE-2026-49858 api-platform core: use of Cache Containing Sensitive Information
- Apr 3, 2025CVE-2025-31485 api-platform core: incorrect Behavior Order
- Apr 3, 2025CVE-2025-31481 api-platform core: incorrect authorization
- Apr 3, 2025CVE-2023-47639 api-platform core: information disclosure in error messages
- Mar 24, 2025CVE-2025-23204 api-platform core: improper input validation
- Feb 28, 2023CVE-2023-25575 api-platform core: placement of User into Incorrect Group
- Feb 4, 2019CVE-2019-1000011 Api-platform Core: improper access control
Questions about CVE-2026-54164
Is CVE-2026-54164 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of api-platform core are affected by CVE-2026-54164?
api-platform/core before 4.1.30, api-platform/core from 4.2.0 before 4.2.26 and api-platform/core from 4.3.0 before 4.3.12, per the GitHub advisory GHSA-9rjg-x2p2-h68h. The tables above give every range the sources list.
Which version fixes CVE-2026-54164?
4.1.30, 4.2.26 and 4.3.12, per the GitHub advisory GHSA-9rjg-x2p2-h68h. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-54164?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-54164?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.