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

medium Affects api-platform/core. Feed 2026.10.29.1, updated 2026-10-28; published .

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

Package
api-platform/core Composer
Affected versions
<4.1.30 or >=4.2.0 and <4.2.26 or >=4.3.0 and <4.3.12
Fixed in
4.1.30, 4.2.26, 4.3.12
Severity
medium  CVSS 6.5
Exploitation
not on CISA KEV · EPSS 0% (26.9th percentile)
Published
2026-08-07
Source
osv.dev

References

CWE-843
NVD recordapi-platform/core advisories

Am I affected?

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

# one-time install
pip install phpwarden

# then
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

Related advisories