Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-49858

published medium CVSS 3.1 · 5.9

API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

Published
01 Jul 2026, 19:24:58 UTC
Updated
02 Jul 2026, 12:20:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
api-platform — core>= 2.6.0, < 4.1.29 · >= 4.2.0, < 4.2.25 · >= 4.3.0, < 4.3.8 Affected Not stated GitHub_M
api-platform — api-platform/hal>= 2.6.0, < 4.1.29 · >= 4.2.0, < 4.2.25 · >= 4.3.0, < 4.3.8 Affected Not stated GitHub_M
api-platform — api-platform/json-api>= 2.6.0, < 4.1.29 · >= 4.2.0, < 4.2.25 · >= 4.3.0, < 4.3.8 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
api-platform core >= 2.6.0, < 4.1.29 (affected)>= 4.2.0, < 4.2.25 (affected)>= 4.3.0, < 4.3.8 (affected) GitHub_M · cna
api-platform api-platform/hal >= 2.6.0, < 4.1.29 (affected)>= 4.2.0, < 4.2.25 (affected)>= 4.3.0, < 4.3.8 (affected) GitHub_M · cna
api-platform api-platform/json-api >= 2.6.0, < 4.1.29 (affected)>= 4.2.0, < 4.2.25 (affected)>= 4.3.0, < 4.3.8 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-524 CWE-524: Use of Cache Containing Sensitive Information (GitHub_M · cna)
  • CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
15763b8a4ab9f57386b0c276d325c469e866e4c5cd2f305f55f7233fec8c1a8f
Ingested
23 Sep 2026, 09:17:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected