What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: jsondiffpatch 0.7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-8657 or the next vulnerability affects your stack