CVE-2026-49858: api-platform core · Use of Cache Containing Sensitive Information
Affects api-platform coreSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium · fixed in 4.3.8 : update api-platform core when convenient.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.3.8, 4.2.25, 4.1.29 +2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade core and api-platform/hal and api-platform/json-api to 4.3.8, 4.2.25 or 4.1.29; api-platform/core to 4.3.12, 4.2.26 or 4.1.29.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| api-platformcore | Affected
| Fixed in
|
| api-platformcore | Affected
| Fixed in
|
| api-platformcore | Affected
| Fixed in
|
| api-platformapi-platform/hal | Affected
| Fixed in
|
| api-platformapi-platform/hal | Affected
| Fixed in
|
| api-platformapi-platform/hal | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in API Platform Core versions 4.1.29, 4.2.26, and 4.3.12. Users should upgrade to one of these versions or later to remediate the vulnerability. No alternative mitigations or temporary workarounds are indicated in the provided data.
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.