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.10.29.1, updated 2026-10-28; 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.3th 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.3th 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.3th percentile)
Published
2026-07-10
Source
osv.dev

References

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

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,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