{"api_version":"1","generated_at":"2026-07-03T15:52:50+00:00","cve":"CVE-2026-49858","urls":{"html":"https://cve.report/CVE-2026-49858","api":"https://cve.report/api/cve/CVE-2026-49858.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-49858","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49858"},"summary":{"title":"API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-01 20:17:10","updated_at":"2026-07-02 18:41:35"},"problem_types":["CWE-524","CWE-639","CWE-524 CWE-524: Use of Cache Containing Sensitive Information","CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23","name":"https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49858","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49858","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"api-platform","product":"core","version":"affected >= 2.6.0, < 4.1.29","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"core","version":"affected >= 4.2.0, < 4.2.25","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"core","version":"affected >= 4.3.0, < 4.3.8","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"api-platform/hal","version":"affected >= 2.6.0, < 4.1.29","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"api-platform/hal","version":"affected >= 4.2.0, < 4.2.25","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"api-platform/hal","version":"affected >= 4.3.0, < 4.3.8","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"api-platform/json-api","version":"affected >= 2.6.0, < 4.1.29","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"api-platform/json-api","version":"affected >= 4.2.0, < 4.2.25","platforms":[]},{"source":"CNA","vendor":"api-platform","product":"api-platform/json-api","version":"affected >= 4.3.0, < 4.3.8","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"49858","cve":"CVE-2026-49858","epss":"0.001970000","percentile":"0.096510000","score_date":"2026-07-02","updated_at":"2026-07-03 00:06:09"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-49858","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-07-02T12:19:58.405684Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-02T12:20:09.370Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"core","vendor":"api-platform","versions":[{"status":"affected","version":">= 2.6.0, < 4.1.29"},{"status":"affected","version":">= 4.2.0, < 4.2.25"},{"status":"affected","version":">= 4.3.0, < 4.3.8"}]},{"product":"api-platform/hal","vendor":"api-platform","versions":[{"status":"affected","version":">= 2.6.0, < 4.1.29"},{"status":"affected","version":">= 4.2.0, < 4.2.25"},{"status":"affected","version":">= 4.3.0, < 4.3.8"}]},{"product":"api-platform/json-api","vendor":"api-platform","versions":[{"status":"affected","version":">= 2.6.0, < 4.1.29"},{"status":"affected","version":">= 4.2.0, < 4.2.25"},{"status":"affected","version":">= 4.3.0, < 4.3.8"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-524","description":"CWE-524: Use of Cache Containing Sensitive Information","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-639","description":"CWE-639: Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-01T19:24:58.170Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23","tags":["x_refsource_CONFIRM"],"url":"https://github.com/api-platform/core/security/advisories/GHSA-pjhx-3c3w-9v23"}],"source":{"advisory":"GHSA-pjhx-3c3w-9v23","discovery":"UNKNOWN"},"title":"API Platform Core: Cross-user attribute leak in JSON:API and HAL item normalizers due to missing isCacheKeySafe gate"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-49858","datePublished":"2026-07-01T19:24:58.170Z","dateReserved":"2026-06-01T22:03:19.640Z","dateUpdated":"2026-07-02T12:20:09.370Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-01 20:17:10","lastModifiedDate":"2026-07-02 18:41:35","problem_types":["CWE-524","CWE-639","CWE-524 CWE-524: Use of Cache Containing Sensitive Information","CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-02T12:19:58.405684Z","id":"CVE-2026-49858","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"49858","Ordinal":"1","Title":"API Platform Core: Cross-user attribute leak in JSON:API and HAL","CVE":"CVE-2026-49858","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"49858","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"API Platform Core: Cross-user attribute leak in JSON:API and HAL"}]}}}