Intel

AIKIDO-2026-10459

api-platform/core is vulnerable to Improper Authorization

Improper Authorization Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 2, 2026

75

High Risk

This Affects:

PHPapi-platform/core
4.2.0 - 4.2.21
Fixed in 4.2.22
4.3.0 - 4.3.0
Fixed in 4.3.1
Are you affected? Scan for Free

TL;DR

AbstractItemNormalizer short-circuited security handling when resource_class was not considered a resource class: canAccessAttribute() returned true without evaluating ApiProperty security / policy, and the post-denormalize path returned early before reverting disallowed attributes for those types. Input DTOs legitimately use non-resource classes, so ApiProperty security expressions on input DTO properties were skipped. The fix removes those isResourceClass guards where they blocked required checks, evaluates property metadata (with PropertyNotFoundException ignored for attributes absent from the resource metadata chain), and keeps post-denormalize enforcement aligned with input DTOs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

api-platform/core is vulnerable to Improper Authorization in versions 4.3.0 - 4.3.0 and 4.2.0 - 4.2.21.

How to fix this

Upgrade the api-platform/core library to the patch version.