CVE-2026-1615
HIGH 8.2CVSS 4.0jsonpath has Arbitrary Code Injection via Unsafe Evaluation of JSON Path Expressions
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.
- Published
- 9 Feb 2026
- Last modified
- 25 Aug 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-87r5-mp6g-5w5j
- Sources
- NVDJSONOSV GHSA-87r5-mp6g-5w5jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | jsonpath | < 1.3.0 | 1.3.0 |
References
- https://github.com/dchester/jsonpath/blob/c1dd8ec74034fb0375233abb5fdbec51ac317b4b/lib/handlers.js%23L243
- https://github.com/dchester/jsonpath/commit/b61111f07ac1a8d0f3133b5fc51438ecb76a6c39 · WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15141219 · WEB
- https://security.snyk.io/vuln/SNYK-JS-JSONPATH-13645034 · WEB
- https://access.redhat.com/errata/RHSA-2026:59155
- https://access.redhat.com/errata/RHSA-2026:6308
- https://access.redhat.com/errata/RHSA-2026:6309
- https://access.redhat.com/errata/RHSA-2026:6802
- https://access.redhat.com/security/cve/CVE-2026-1615
- https://bugzilla.redhat.com/show_bug.cgi?id=2437875
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1615.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-1615 · ADVISORY
- https://github.com/dchester/jsonpath/pull/197 · WEB
- https://github.com/dchester/jsonpath/commit/491e2e01de2ff13f7d95e87eb2be726edbf4225f · WEB
- https://github.com/dchester/jsonpath · PACKAGE
- https://github.com/dchester/jsonpath/blob/c1dd8ec74034fb0375233abb5fdbec51ac317b4b/lib/handlers.js#L243 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 9 Feb 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Feb 2026)