CVE-2026-8657: Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpa...
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-8657 affects jsondiffpatch before 0.7.6. If an application lets untrusted users submit delta or JSON Patch documents processed by vulnerable APIs, attackers may tamper with JavaScript object behavior through prototype pollution. This can undermine application integrity and sometimes availability, depending on how polluted properties are later used.
Executive priority
Prioritize remediation for internet-facing or multi-tenant applications that accept user-controlled patch data. Treat as high priority because exploitation needs no authentication or user interaction when the vulnerable API is reachable, though confirmed active exploitation is not documented in the provided sources.
Technical view
The flaw is CWE-1321 prototype pollution in jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch(). Attacker-controlled property names or path segments can traverse into special properties such as __proto__ or constructor.prototype and modify Object.prototype. The CVSS v4 score is 8.8 high, with network, low-complexity, no-privilege, no-user-interaction characteristics.
Likely exposure
Exposure is most likely in Node.js or Java WebJars applications using jsondiffpatch before 0.7.6 and applying untrusted deltas or JSON Patch documents. Internal-only use with trusted patch data is lower risk, but still should be upgraded during normal dependency maintenance.
Exploitation context
Sources do not show CISA KEV listing or confirmed active exploitation. The CVE indicates proof-of-concept exploit maturity and public references include researcher material. Practical impact depends on whether attacker-supplied patch data reaches the vulnerable APIs and whether polluted prototype properties influence security-sensitive logic.
Researcher notes
Focus review on data flow into patch application APIs and downstream reliance on inherited object properties. The referenced commit appears to address unsafe traversal of prototype-related keys. Avoid assuming remote code execution; prototype pollution impact is application-specific and may range from integrity failures to broader compromise chains.
Mitigation direction
Upgrade jsondiffpatch to 0.7.6 or later where used.
Upgrade org.webjars.npm:jsondiffpatch to a non-vulnerable version.
Do not process untrusted deltas or JSON Patch documents until upgraded.
Add input validation blocking prototype-related property paths as defense-in-depth.
Review vendor and package advisory guidance for environment-specific instructions.
Validation and detection
Inventory npm and Java WebJars dependencies for jsondiffpatch versions before 0.7.6.
Search code for jsondiffpatch.patch() and jsondiffpatch/formatters/jsonpatch.patch() usage.
Confirm whether external or tenant-controlled data reaches those APIs.
Verify dependency lockfiles and deployed artifacts use version 0.7.6 or later.
Run SCA scans after remediation to confirm the finding is closed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1321: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-1321 · source CWE mapping
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.