SecurityContext

CVE-2026-49858: API Platform Core - Broken Access Control

  • Cve: CVE-2026-49858
  • Name: API Platform Core - Broken Access Control
  • 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.
  • Impact: Attackers can view attributes not meant for their privilege level, leading to unauthorized information disclosure.
  • Remediation: Update to versions 4.1.29, 4.2.26, or 4.3.12 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00315
  • Epss percentile: 0.24625
  • Assignee: [email protected]
  • Published at: 2026-07-01T20:17:10Z
  • Age in days: 146
  • Modified at: 2026-07-02T18:41:35Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49858
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-524Use of Cache Containing Sensitive Information

References

UrlSourceTags
https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23nvd

Products

ProductAffectedPlatform boundSourcesUrl
api-platform:core>= 4.3.0, < 4.3.8; >= 4.2.0, < 4.2.25; >= 2.6.0, < 4.1.29nocna_alias_text/v1/products/api-platform/core

Projects

RepositoryLink kindsIndexedUrl
api-platform/corepackage, security_advisoryyes/v1/repositories/api-platform/core

Index

  • Repositories: 5
  • Repositories high signal: 5
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts