Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. api-platform/core
  4. ›
  5. CVE-2026-54164

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)

August 7, 2026

The API Platform 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.

References

  • github.com/advisories/GHSA-9rjg-x2p2-h68h
  • github.com/api-platform/core/commit/6bcbeb2dbee53db5bb9b4b8e343bffdf7732de1e
  • github.com/api-platform/core/releases/tag/v4.1.30
  • github.com/api-platform/core/releases/tag/v4.2.26
  • github.com/api-platform/core/releases/tag/v4.3.12
  • github.com/api-platform/core/security/advisories/GHSA-9rjg-x2p2-h68h
  • nvd.nist.gov/vuln/detail/CVE-2026-54164

Code Behaviors & Features

Detect and mitigate CVE-2026-54164 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.30, all versions starting from 4.2.0 before 4.2.26, all versions starting from 4.3.0 before 4.3.12

Fixed versions

  • 4.1.30
  • 4.2.26
  • 4.3.12

Solution

Upgrade to versions 4.1.30, 4.2.26, 4.3.12 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

packagist/api-platform/core/CVE-2026-54164.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:09 +0000.