Vulnerability · Published Feb 9, 2026 · Assigned by snyk
CVE-2026-1615
Critical 9.8
In plain English
A critical-severity code injection in jsonpath. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Versions of the package jsonpath before 1.3.0 are vulnerable to Arbitrary Code Injection via unsafe evaluation of user-supplied JSON Path expressions. The library relies on the static-eval module to process JSON Path input, which is not designed to handle untrusted data safely. An attacker can exploit this vulnerability by supplying a malicious JSON Path expression that, when evaluated, executes arbitrary JavaScript code, leading to Remote Code Execution in Node.js environments or Cross-site Scripting (XSS) in browser contexts. This affects all methods that evaluate JSON Paths against objects, including .query, .nodes, .paths, .value, .parent, and .apply.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | jsonpath | 1.3.0 | GHSA-87r5-mp6g-5w5j |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | jsonpath | 0 – before 1.3.0 |
| n/a | org.webjars.npm:jsonpath | 0 – before * |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
References
- https://security.snyk.io/vuln/SNYK-JS-JSONPATH-13645034
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15141219
- https://github.com/dchester/jsonpath/blob/c1dd8ec74034fb0375233abb5fdbec51ac317b4b/lib/handlers.js%23L243
- https://github.com/dchester/jsonpath/commit/b61111f07ac1a8d0f3133b5fc51438ecb76a6c39
- https://access.redhat.com/security/cve/CVE-2026-1615 vdb-entry, x_refsource_REDHAT
- RHBZ#2437875 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1615.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:6308 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:59155 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6309 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:6802 vendor-advisory, x_refsource_REDHAT