Skip to main content
VulnerabilityPublished

CVE-2026-49858: api-platform core · Use of Cache Containing Sensitive Information

Affects api-platform coreSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
api-platformcoreAffected
  • >=4.3.0 <4.3.8
Fixed in
  • 4.3.8
api-platformcoreAffected
  • >=4.2.0 <4.2.25
Fixed in
  • 4.2.25
api-platformcoreAffected
  • >=2.6.0 <4.1.29
Fixed in
  • 4.1.29
api-platformapi-platform/halAffected
  • >=4.3.0 <4.3.8
Fixed in
  • 4.3.8
api-platformapi-platform/halAffected
  • >=4.2.0 <4.2.25
Fixed in
  • 4.2.25
api-platformapi-platform/halAffected
  • >=2.6.0 <4.1.29
Fixed in
  • 4.1.29

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.

References

Community reviews

Loading reviews…