> CVE-2026-49858 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-01 20:17
MODIFIED
2026-07-01 20:17
CVSS_SCORE V3
5.9
EPSS (Prob. Exploit)
0.32%
Top 75.6%
DATA SOURCES:
NVD đź”— 2026-07-01 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
2.2
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-524 CWE-639

> CWE DETAILED DESCRIPTIONS

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.

> GITHUB SECURITY ADVISORY

GHSA-pjhx-3c3w-9v23 MODERATE

API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

AFFECTED PACKAGES:
COMPOSER / api-platform/hal
>= 4.3.0, < 4.3.8
Fixed in: 4.3.8
COMPOSER / api-platform/hal
>= 4.2.0, < 4.2.25
Fixed in: 4.2.25
COMPOSER / api-platform/hal
>= 4.0.0, < 4.1.29
Fixed in: 4.1.29
COMPOSER / api-platform/json-api
>= 4.3.0, < 4.3.8
Fixed in: 4.3.8
COMPOSER / api-platform/json-api
>= 4.2.0, < 4.2.25
Fixed in: 4.2.25
COMPOSER / api-platform/json-api
>= 4.0.0, < 4.1.29
Fixed in: 4.1.29
COMPOSER / api-platform/core
>= 4.3.0, < 4.3.8
Fixed in: 4.3.8
COMPOSER / api-platform/core
>= 4.2.0, < 4.2.25
Fixed in: 4.2.25
COMPOSER / api-platform/core
>= 2.6.0, < 4.1.29
Fixed in: 4.1.29

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

AFFECTED PACKAGES:
Unknown / Unknown
86 versions affected
ALIASES:
GHSA-pjhx-3c3w-9v23

> HISTORIQUE DES MODIFICATIONS

Première apparition
01/07/2026 20:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
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-...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23
« BACK_TO_HOME