CVE-2026-8657: Prototype Pollution in jsondiffpatch
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.
AI Analysis
Technical Summary
CVE-2026-8657 describes a prototype pollution vulnerability in the jsondiffpatch package affecting versions before 0.7.6. The vulnerability arises because the jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() APIs use attacker-controlled property names and path segments to traverse and modify objects without restricting access to special prototype properties such as __proto__ or constructor.prototype. This allows an attacker to manipulate Object.prototype, potentially leading to unexpected behavior or security issues in applications using the affected versions.
Potential Impact
An attacker can perform prototype pollution by supplying malicious delta or JSON Patch documents, which can lead to modification of Object.prototype. This may cause security issues such as altering application logic, bypassing security controls, or causing denial of service. The CVSS 4.0 score is 8.8 (high severity), indicating a significant risk if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor vendor advisories for updates and consider avoiding use of affected versions until a fix is available.
CVE-2026-8657: Prototype Pollution in jsondiffpatch
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.
CVSS v4.0
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8657 describes a prototype pollution vulnerability in the jsondiffpatch package affecting versions before 0.7.6. The vulnerability arises because the jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() APIs use attacker-controlled property names and path segments to traverse and modify objects without restricting access to special prototype properties such as __proto__ or constructor.prototype. This allows an attacker to manipulate Object.prototype, potentially leading to unexpected behavior or security issues in applications using the affected versions.
Potential Impact
An attacker can perform prototype pollution by supplying malicious delta or JSON Patch documents, which can lead to modification of Object.prototype. This may cause security issues such as altering application logic, bypassing security controls, or causing denial of service. The CVSS 4.0 score is 8.8 (high severity), indicating a significant risk if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor vendor advisories for updates and consider avoiding use of affected versions until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-05-15T06:27:57.484Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a07ff1cec166c07b05e5fd7
Added to database: 05/16/2026, 05:22:36 UTC
Last enriched: 08/13/2026, 18:07:37 UTC
Last updated: 08/20/2026, 22:52:15 UTC
Views: 224
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.