CVE-2026-49858: API Platform Core vulnerable to cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate

medium Affects api-platform/core, api-platform/hal, api-platform/json-api. Feed 2026.11.23.2, updated 2026-11-23; published .

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

Package
api-platform/core Composer
Affected versions
>=2.6.0 and <4.1.29 or >=4.2.0 and <4.2.25 or >=4.3.0 and <4.3.8
Fixed in
4.1.29, 4.2.25, 4.3.8
Severity
medium  CVSS 5.9
Exploitation
not on CISA KEV · EPSS 0% (24.8th percentile)
Published
2026-07-10
Source
osv.dev

References

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

Package
api-platform/hal Composer
Affected versions
>=4.0.0 and <4.1.29 or >=4.2.0 and <4.2.25 or >=4.3.0 and <4.3.8
Fixed in
4.1.29, 4.2.25, 4.3.8
Severity
medium  CVSS 5.9
Exploitation
not on CISA KEV · EPSS 0% (24.8th percentile)
Published
2026-07-10
Source
osv.dev

References

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

Package
api-platform/json-api Composer
Affected versions
>=4.0.0 and <4.1.29 or >=4.2.0 and <4.2.25 or >=4.3.0 and <4.3.8
Fixed in
4.1.29, 4.2.25, 4.3.8
Severity
medium  CVSS 5.9
Exploitation
not on CISA KEV · EPSS 0% (24.8th percentile)
Published
2026-07-10
Source
osv.dev

References

CWE-524CWE-639
NVD recordapi-platform/core advisoriesapi-platform/hal advisoriesapi-platform/json-api advisories

Quick answers

Is CVE-2026-49858 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today.

Which version fixes CVE-2026-49858?

api-platform/core: 4.1.29, 4.2.25, 4.3.8; api-platform/hal: 4.1.29, 4.2.25, 4.3.8; api-platform/json-api: 4.1.29, 4.2.25, 4.3.8.

How do I check whether I am affected?

Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories