{"id":"CVE-2026-8657","details":"Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() APIs. An attacker can perform prototype pollution by supplying crafted delta or JSON Patch documents, as attacker-controlled property names and path segments are used to traverse and modify objects without restricting access to special properties like __proto__ or constructor.prototype, allowing modification of Object.prototype.","aliases":["GHSA-j4fx-xxwh-2485"],"modified":"2026-09-02T03:55:58.149475182Z","published":"2026-05-16T05:00:09.867Z","related":["CGA-3h4h-g84f-66pj"],"database_specific":{"cna_assigner":"snyk","cwe_ids":["CWE-1321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8657.json","unresolved_ranges":[{"extracted_events":[{"fixed":"0.7.6"},{"fixed":"*"}],"source":"AFFECTED_FIELD"},{"source":"DESCRIPTION","extracted_events":[{"fixed":"0.7.6"}]}]},"references":[{"type":"WEB","url":"https://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb"},{"type":"WEB","url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115"},{"type":"WEB","url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87"},{"type":"WEB","url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168"},{"type":"WEB","url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8657.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8657"},{"type":"FIX","url":"https://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/benjamine/jsondiffpatch","events":[{"introduced":"0"},{"fixed":"381c0125efab49f6f0dbc08317d01d55717672af"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v0.6.0","v0.5.0","v0.3.11","v0.3.10","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.1.42","v0.1.35","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.3","v0.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8657.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:P"}]}