CVE-2026-1615
All versions of the package jsonpath are vulnerable to Arbitrary …
All versions of the package jsonpath 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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dchester/jsonpath/blob/c1dd8ec74034fb0375233abb5fdbec51ac317b4b/lib/handlers.js
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15141219
- security.snyk.io/vuln/SNYK-JS-JSONPATH-13645034
- nvd.nist.gov/vuln/detail/CVE-2026-1615
- github.com/dchester/jsonpath/blob/c1dd8ec74034fb0375233abb5fdbec51ac317b4b/lib/handlers.js
- github.com/advisories/GHSA-87r5-mp6g-5w5j
- github.com/dchester/jsonpath/commit/9631412641b7095f86840a7a45b5b3afc68b0fcb
- github.com/dchester/jsonpath/pull/197
- nvd.nist.gov/vuln/detail/CVE-2026-1615
- cve.org/CVERecord?id=CVE-2026-1615
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.