Home / api-platform / core / CVE-2026-49858
CVE-2026-49858: is it exploited, and which versions of api-platform core are affected and fixed?
CVE-2026-49858 is an use of Cache Containing Sensitive Information vulnerability in api-platform core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: api-platform/core from 2.6.0 before 4.1.29, api-platform/core from 4.2.0 before 4.2.25, api-platform/core from 4.3.0 before 4.3.8 and 6 more (GitHub advisory GHSA-pjhx-3c3w-9v23). Fixed in 4.1.29, 4.2.25 and 4.3.8 (GitHub advisory GHSA-pjhx-3c3w-9v23). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-49858?
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.
From the CVE record by GitHub_M, last updated July 2, 2026, 12:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| api-platform | core | >= 2.6.0, < 4.1.29 >= 4.2.0, < 4.2.25 >= 4.3.0, < 4.3.8 | |
| api-platform | api-platform/hal | >= 2.6.0, < 4.1.29 >= 4.2.0, < 4.2.25 >= 4.3.0, < 4.3.8 | |
| api-platform | api-platform/json-api | >= 2.6.0, < 4.1.29 >= 4.2.0, < 4.2.25 >= 4.3.0, < 4.3.8 |
As the CVE record by GitHub_M states it, last updated July 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | api-platform/core | >= 2.6.0, < 4.1.29 | 4.1.29 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/core | >= 4.2.0, < 4.2.25 | 4.2.25 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/core | >= 4.3.0, < 4.3.8 | 4.3.8 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/json-api | >= 4.0.0, < 4.1.29 | 4.1.29 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/json-api | >= 4.2.0, < 4.2.25 | 4.2.25 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/json-api | >= 4.3.0, < 4.3.8 | 4.3.8 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/hal | >= 4.0.0, < 4.1.29 | 4.1.29 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/hal | >= 4.2.0, < 4.2.25 | 4.2.25 | GHSA-pjhx-3c3w-9v23 |
| Packagist | api-platform/hal | >= 4.3.0, < 4.3.8 | 4.3.8 | GHSA-pjhx-3c3w-9v23 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 10, 2026. Summary: API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate.
How severe is CVE-2026-49858?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-49858 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 2, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 11.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-524 Use of Cache Containing Sensitive Information
- CWE-639 Authorization Bypass Through User-Controlled Key
Where are the vendor advisories and references?
- https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 1, 2026
- Published
- July 1, 2026, 19:24 UTC
- CVE record updated
- July 2, 2026, 12:20 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified July 2, 2026, 18:41 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect core?
- Jul 1, 2026CVE-2026-54164 api-platform core: type confusion
- Apr 3, 2025CVE-2025-31485 api-platform core: incorrect Behavior Order
- Apr 3, 2025CVE-2025-31481 api-platform core: incorrect authorization
- Apr 3, 2025CVE-2023-47639 api-platform core: information disclosure in error messages
- Mar 24, 2025CVE-2025-23204 api-platform core: improper input validation
- Feb 28, 2023CVE-2023-25575 api-platform core: placement of User into Incorrect Group
- Feb 4, 2019CVE-2019-1000011 Api-platform Core: improper access control
Questions about CVE-2026-49858
Is CVE-2026-49858 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of api-platform core are affected by CVE-2026-49858?
api-platform/core from 2.6.0 before 4.1.29, api-platform/core from 4.2.0 before 4.2.25, api-platform/core from 4.3.0 before 4.3.8, api-platform/json-api from 4.0.0 before 4.1.29, api-platform/json-api from 4.2.0 before 4.2.25, api-platform/json-api from 4.3.0 before 4.3.8 and 3 more, per the GitHub advisory GHSA-pjhx-3c3w-9v23. The tables above give every range the sources list.
Which version fixes CVE-2026-49858?
4.1.29, 4.2.25 and 4.3.8, per the GitHub advisory GHSA-pjhx-3c3w-9v23. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-49858?
Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-49858?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.