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 is a prototype pollution vulnerability affecting jsondiffpatch versions prior to 0.7.6. The issue arises in the jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() APIs, where attacker-controlled property names and path segments are used to traverse and modify objects. This lack of restriction on special properties such as __proto__ or constructor.prototype enables modification of Object.prototype, potentially leading to unexpected behavior or security issues in applications using the affected package.
Potential Impact
An attacker can exploit this vulnerability to perform prototype pollution, which may lead to modification of Object.prototype. This can cause unexpected application behavior, potentially enabling further attacks depending on the context in which the vulnerable package is used. The CVSS 4.0 score is 8.8, indicating a high severity vulnerability with network attack vector, no privileges or user interaction required, and high impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted input with the vulnerable jsondiffpatch APIs or implement custom input validation to prevent prototype pollution vectors.
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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8657 is a prototype pollution vulnerability affecting jsondiffpatch versions prior to 0.7.6. The issue arises in the jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() APIs, where attacker-controlled property names and path segments are used to traverse and modify objects. This lack of restriction on special properties such as __proto__ or constructor.prototype enables modification of Object.prototype, potentially leading to unexpected behavior or security issues in applications using the affected package.
Potential Impact
An attacker can exploit this vulnerability to perform prototype pollution, which may lead to modification of Object.prototype. This can cause unexpected application behavior, potentially enabling further attacks depending on the context in which the vulnerable package is used. The CVSS 4.0 score is 8.8, indicating a high severity vulnerability with network attack vector, no privileges or user interaction required, and high impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid processing untrusted input with the vulnerable jsondiffpatch APIs or implement custom input validation to prevent prototype pollution vectors.
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: 5/16/2026, 5:22:36 AM
Last enriched: 5/23/2026, 6:35:12 AM
Last updated: 6/17/2026, 4:21:43 PM
Views: 139
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.