CVE-2026-49858
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2026
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. In versions from 2.6.0 prior to 4.1.29, 4.2.26, and 4.3.12, a missing isCacheKeySafe gate in the JSON:API and HAL item normalizers causes a cross-user attribute leak. #[ApiProperty(security: ...)] is evaluated per request to decide whether a property is exposed. The componentsCache arrays in ApiPlatform\JsonApi\Serializer\ItemNormalizer and ApiPlatform\Hal\Serializer\ItemNormalizer are keyed on $context['cache_key'], which is set unconditionally before delegating to the parent normalizer. The component structure (attributes, relationships, links) computed for one request can therefore be reused for a subsequent request whose user has a different set of accessible properties. A user with lower privileges may end up seeing the structure of properties that the security predicate would otherwise have hidden for them. This issue has been fixed in versions 4.1.29, 4.2.26, and 4.3.12.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
core
- Vendor
- api-platform
- Product
- core
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| >= 2.6.0, < 4.1.29 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.2.0, < 4.2.25 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.3.0, < 4.3.8 | affected | Unavailable | Unavailable | Unavailable | None listed |
api-platform/hal
- Vendor
- api-platform
- Product
- api-platform/hal
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| >= 2.6.0, < 4.1.29 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.2.0, < 4.2.25 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.3.0, < 4.3.8 | affected | Unavailable | Unavailable | Unavailable | None listed |
api-platform/json-api
- Vendor
- api-platform
- Product
- api-platform/json-api
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| >= 2.6.0, < 4.1.29 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.2.0, < 4.2.25 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.3.0, < 4.3.8 | affected | Unavailable | Unavailable | Unavailable | None listed |