Skip to main content

API Platform Core CVE-2026-49858

| EUVDEUVD-2026-41129 MEDIUM
Use of Cache Containing Sensitive Information (CWE-524)
2026-07-01 GitHub_M GHSA-pjhx-3c3w-9v23
5.9
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
5.3 MEDIUM

Attacker must hold a lower-privileged account (PR:L) to issue API requests; cache timing dependency justifies AC:H; no integrity or availability impact applies.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Jul 01, 2026 - 21:02 EUVD
Analysis Generated
Jul 01, 2026 - 20:19 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Cross-user attribute structure leakage in API Platform Core's JSON:API and HAL serializers exposes the schema layout of security-gated properties to lower-privileged users through improper cache reuse. Versions from 2.6.0 up to 4.1.29, 4.2.26, and 4.3.12 are affected across the core, hal, and json-api packages. The component structure computed for a higher-privileged user's request can be served from cache to a subsequent lower-privileged user's request, bypassing the per-request evaluation of #[ApiProperty(security: ...)] predicates. No public exploit identified at time of analysis; vendor-released patches are available.

Technical ContextAI

API Platform Core (cpe:2.3:a:api-platform:core) is a PHP framework for building hypermedia-driven REST and GraphQL APIs on top of Symfony. The root cause is CWE-524 (Use of Cache Containing Sensitive Information): both ApiPlatform\JsonApi\Serializer\ItemNormalizer and ApiPlatform\Hal\Serializer\ItemNormalizer maintain an internal componentsCache array keyed on $context['cache_key']. This key is set unconditionally before delegating to the parent normalizer, without first consulting the isCacheKeySafe gate that determines whether a given cache key is safe to reuse across security contexts. The #[ApiProperty(security: ...)] annotation is designed to be evaluated per-request to decide whether a property (attribute, relationship, or link) is exposed in the serialized output. Because the cache bypasses this per-request gate, the structural decisions made for one user's security context are frozen in cache and replayed for a subsequent user who may have a different permission set. The affected CPEs span cpe:2.3:a:api-platform:api-platform/hal and cpe:2.3:a:api-platform:api-platform/json-api as well as the core package.

RemediationAI

Upgrade to API Platform Core 4.1.29, 4.2.26, or 4.3.12 - whichever matches the installed minor branch - as these releases introduce the missing isCacheKeySafe check in both the JSON:API and HAL item normalizers, preventing cross-user reuse of the componentsCache. Full patch details are in the vendor advisory at https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23. If an immediate upgrade is not feasible, a targeted compensating control is to customize the API Platform serialization context builder to incorporate a user-specific token (such as a hashed user ID or role fingerprint) into the cache_key context parameter, ensuring that cache entries are never shared across users with differing security contexts. The trade-off of this workaround is increased per-request serialization overhead and potential cache size growth proportional to the number of distinct user security profiles. Applications that do not use #[ApiProperty(security: ...)] for per-user property gating are not susceptible to this specific issue and need not apply the workaround as a priority.

More in Core

View all
CVE-2020-15505 CRITICAL POC
9.8 Jul 07

A remote code execution vulnerability in MobileIron Core & Connector versions 10.3.0.3 and earlier, 10.4.0.0, 10.4.0.1,

CVE-2022-29777 CRITICAL POC
9.8 Jun 02

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a heap overflow via t

CVE-2022-29776 CRITICAL POC
9.8 Jun 02

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a stack overflow via

CVE-2021-38145 CRITICAL POC
9.8 Aug 31

An issue was discovered in Form Tools through 3.0.20. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2026-53599 HIGH POC
7.5 Jul 31

Remote code execution in REDAXO CMS versions 5.18.2 through 5.21.0 is reachable by authenticated backend users with medi

CVE-2023-5192 MEDIUM POC
6.5 Sep 27

Excessive Data Query Operations in a Large Data Table in GitHub repository pimcore/demo prior to 10.3.0. Rated medium se

CVE-2021-38143 MEDIUM POC
6.1 Aug 31

An issue was discovered in Form Tools through 3.0.20. Rated medium severity (CVSS 6.1), this vulnerability is remotely e

CVE-2020-15506 CRITICAL
9.8 Jul 07

An authentication bypass vulnerability in MobileIron Core & Connector versions 10.3.0.3 and earlier, 10.4.0.0, 10.4.0.1,

CVE-2021-38144 MEDIUM POC
5.4 Aug 31

An issue was discovered in Form Tools through 3.0.20. Rated medium severity (CVSS 5.4), this vulnerability is remotely e

CVE-2026-57499 CRITICAL
9.1 Aug 27

OS command injection in Liman server management software (limanmys/core) before version 2.2.2 - 1103 lets an authenticat

CVE-2026-71291 HIGH
8.8 Aug 05

Unsandboxed Twig template rendering in Bolt CMS allows any user holding an editor-level CMS role to inject arbitrary OS

CVE-2026-42278 HIGH
8.8 May 08

Authentication bypass in UltraDAG Core blockchain allows remote unauthenticated attackers to drain all pocket-derived su

Share

CVE-2026-49858 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy