CVE-2026-49858
Last modified
CVE-2026-49858 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-49858?
How severe is CVE-2026-49858?
How do I fix CVE-2026-49858?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4985A vulnerability was identified in dloebl CGIF up to 0.5.2. T…5.3
- CVE-2026-49851Mistune is a Python Markdown parser with renderers and plugi…8.7
- CVE-2026-49852joserfc is a Python library that provides an implementation …8.7
- CVE-2026-49853Tornado is a Python web framework and asynchronous networkin…7.7
- CVE-2026-49854Tornado is a Python web framework and asynchronous networkin…5.3
- CVE-2026-49855Tornado is a Python web framework and asynchronous networkin…7.5
- CVE-2026-49859Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…5.2
- CVE-2026-4986The WPForms WordPress plugin before 1.10.0.5 does not verif…5.3
- CVE-2026-49860Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…5.2
- CVE-2026-49866libp2p is a JavaScript Implementation of libp2p networking s…7.5
- CVE-2026-49867DataEase is an open source data visualization and analysis t…6.3
- CVE-2026-49869Kestra is an open-source, event-driven orchestration platfor…10
Are you affected by CVE-2026-49858?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
