{"id":"CVE-2026-8657","aliases":["EUVD-2026-30670","GHSA-j4fx-xxwh-2485","ROOT-APP-NPM-CVE-2026-8657"],"status":"published","title":"jsondiffpatch patch APIs are vulnerable to prototype pollution","description":"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.","severity":{"version":"4.0","score":8.8,"vector":"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00378,"percentile":0.32072,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2026-05-16T05:00:09Z","modified":"2026-10-28T02:30:44Z","fixes":[{"ecosystem":"npm","package":"jsondiffpatch","fixed_in":["0.7.6"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"jsondiffpatch","fixed_in":["0.6.0-aikido.3"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/jsondiffpatch","fixed_in":["0.6.0-root.io.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"jsondiffpatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.6"}]}]},{"source":"osv","ecosystem":"npm","package":"jsondiffpatch","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.6"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"jsondiffpatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-aikido.3"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/jsondiffpatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-root.io.3"}]}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990","tags":["web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792","tags":["web"]},{"url":"https://gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb","tags":["exploit","web"]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L82-L87","tags":["web"]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/filters/nested.ts%23L107-L115","tags":["web"]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L146-L168","tags":["web"]},{"url":"https://github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/jsondiffpatch/src/formatters/jsonpatch-apply.ts%23L171-L199","tags":["web"]},{"url":"https://github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af","tags":["fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8657","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-j4fx-xxwh-2485"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8657.json","tags":["advisory"]},{"url":"https://github.com/benjamine/jsondiffpatch","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-8657","description":"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.","status":"published","published":"2026-05-16T05:00:09.867Z","modified":"2026-08-23T15:25:14.637Z","cvss":[{"version":"4.0","score":8.8,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-1321","CWE-1321"],"updated_at":"2026-11-02T13:48:02.226896Z"}],"euvd":[{"id":"EUVD-2026-30670","description":"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.","status":"published","published":"2026-05-16T05:00:09Z","modified":"2026-08-23T15:25:14Z","cvss":[{"version":"4.0","score":8.8,"vector":"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","level":"high"}],"updated_at":"2026-11-02T18:01:35.768217Z"}],"ghsa":[{"id":"GHSA-j4fx-xxwh-2485","title":" jsondiffpatch patch APIs are vulnerable to prototype pollution","description":"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.","status":"published","published":"2026-05-16T06:30:29Z","modified":"2026-08-31T22:10:51Z","cvss":[{"version":"4.0","score":7.8,"vector":"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","level":"high"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:41:08.980668Z"}],"nvd":[{"id":"CVE-2026-8657","description":"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.","status":"published","published":"2026-05-16T06:16:18.727Z","modified":"2026-07-05T16:19:45.2Z","cvss":[{"version":"4.0","score":7.8,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","level":"high","assessor":"secondary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:12:19.39893Z"}],"osv":[{"id":"CVE-2026-8657","description":"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.","status":"published","published":"2026-05-16T05:00:09.867Z","modified":"2026-10-28T02:30:44.246304764Z","cvss":[{"version":"4.0","score":7.8,"vector":"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","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:45:18.825071Z"},{"id":"GHSA-j4fx-xxwh-2485","title":" jsondiffpatch patch APIs are vulnerable to prototype pollution","description":"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.","status":"published","published":"2026-05-16T06:30:29Z","modified":"2026-09-10T03:51:05.988087881Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","level":"high"},{"version":"4.0","score":7.8,"vector":"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","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:49.977351Z"},{"id":"ROOT-APP-NPM-CVE-2026-8657","title":"CVE-2026-8657 in jsondiffpatch - Patched by Root","description":"Root has patched CVE-2026-8657 in the jsondiffpatch package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-10-05T07:38:51Z","modified":"2026-10-05T08:15:06.806956898Z","updated_at":"2026-11-02T15:53:27.649662Z"}]}}
