CVE-2026-8657
Versions of the package jsondiffpatch before 0.7.6 are vulnerable …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/yuki-matsuhashi/e570fb1579ae1f3190059b622b0473fb
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/
- github.com/benjamine/jsondiffpatch/blob/96112c35a98f9201dd75d67fcee68a952c79e2fe/packages/
- github.com/benjamine/jsondiffpatch/commit/381c0125efab49f6f0dbc08317d01d55717672af
- security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-16322990
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16732792
- nvd.nist.gov/vuln/detail/CVE-2026-8657
- cve.org/CVERecord?id=CVE-2026-8657
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.