CVE-2026-54164
Last modified
CVE-2026-54164 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| api-platform | core | < 4.1.30; >= 4.2.0, < 4.2.26; >= 4.3.0, < 4.3.12 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54164?
How severe is CVE-2026-54164?
How do I fix CVE-2026-54164?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5415The WP Captcha PRO (the premium version of the Advanced Goog…8.8
- CVE-2026-54157LobeHub is a work-and-lifestyle space to find, build, and co…9
- CVE-2026-54158SiYuan is an open-source personal knowledge management syste…9.9
- CVE-2026-54159PrestaShop ps_facetedsearch is a module that adds layered na…10
- CVE-2026-5416Due to the improper neutralization of special elements used …8.8
- CVE-2026-54163secure_headers manages application of security headers with …4.7
- CVE-2026-5417A vulnerability was determined in Dataease SQLbot up to 1.6.…4.7
- CVE-2026-54171Excon is usable, fast, simple HTTP 1.1 for Ruby. Prior to 1.…6.5
- CVE-2026-5418A vulnerability was identified in appsmithorg appsmith up to…7.3
- CVE-2026-54183Apache Airflow's secrets masker hides values stored under se…
- CVE-2026-54184Unauthenticated Insecure Direct Object References (IDOR) in …8.2
- CVE-2026-54185Subscriber SQL Injection in Cornerstone < 7.8.8 versions.8.5
Are you affected by CVE-2026-54164?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
