5.9
CVE-2026-49858
- EPSS 0.21%
- Veröffentlicht 01.07.2026 19:24:58
- Zuletzt bearbeitet 02.07.2026 18:41:35
- CVE-Watchlists
- Unerledigt
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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
Herstellerapi-platform
≫
Produkt
core
Version
>= 2.6.0, < 4.1.29
Status
affected
Version
>= 4.2.0, < 4.2.25
Status
affected
Version
>= 4.3.0, < 4.3.8
Status
affected
Herstellerapi-platform
≫
Produkt
api-platform/hal
Version
>= 2.6.0, < 4.1.29
Status
affected
Version
>= 4.2.0, < 4.2.25
Status
affected
Version
>= 4.3.0, < 4.3.8
Status
affected
Herstellerapi-platform
≫
Produkt
api-platform/json-api
Version
>= 2.6.0, < 4.1.29
Status
affected
Version
>= 4.2.0, < 4.2.25
Status
affected
Version
>= 4.3.0, < 4.3.8
Status
affected
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.21% | 0.111 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| security-advisories@github.com | 5.9 | 2.2 | 3.6 |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
|
CWE-524 Use of Cache Containing Sensitive Information
The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.
CWE-639 Authorization Bypass Through User-Controlled Key
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23