CVE-2026-1615: Arbitrary Code Injection in jsonpath
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.
AI Analysis
Technical Summary
CVE-2026-1615 is a critical arbitrary code injection vulnerability in the jsonpath package prior to version 1.3.0. The vulnerability arises from unsafe evaluation of user-supplied JSON Path expressions using the static-eval module, which is not designed to safely handle untrusted data. Attackers can supply malicious JSON Path expressions that execute arbitrary JavaScript code, resulting in Remote Code Execution in Node.js or Cross-site Scripting in browsers. This affects all jsonpath methods that evaluate JSON Paths, including .query, .nodes, .paths, .value, .parent, and .apply. Red Hat's advisory highlights that while the vulnerability is serious, the risk in their products is mitigated by how jsonpath is used (often as a transitive dependency or not directly processing user input). Red Hat currently does not offer a mitigation that meets their standards for broad applicability and stability. The vulnerability has a CVSS 3.1 base score of 9.8, indicating critical severity.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely in Node.js environments or perform Cross-site Scripting attacks in browser contexts. This can lead to full compromise of the affected system or application, including unauthorized code execution, data integrity loss, and potential privilege escalation. The vulnerability requires no privileges or user interaction to exploit. Within Red Hat products, the exposure and criticality are reduced due to the usage context of the jsonpath component. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Red Hat currently states that no mitigation is available or that existing options do not meet their criteria for ease of use, deployment, or stability. Users should upgrade jsonpath to version 1.3.0 or later where the vulnerability is fixed. For Red Hat products, monitor vendor advisories for updates or patches. In environments where upgrading is not immediately possible, restrict or validate user input to jsonpath evaluation functions to prevent untrusted data processing. Customers using Red Hat Ansible Automation Platform 2.5 should apply the available update that includes a fix for this vulnerability.
CVE-2026-1615: Arbitrary Code Injection in jsonpath
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.
CVSS v4.0
Score 9.2critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-1615 is a critical arbitrary code injection vulnerability in the jsonpath package prior to version 1.3.0. The vulnerability arises from unsafe evaluation of user-supplied JSON Path expressions using the static-eval module, which is not designed to safely handle untrusted data. Attackers can supply malicious JSON Path expressions that execute arbitrary JavaScript code, resulting in Remote Code Execution in Node.js or Cross-site Scripting in browsers. This affects all jsonpath methods that evaluate JSON Paths, including .query, .nodes, .paths, .value, .parent, and .apply. Red Hat's advisory highlights that while the vulnerability is serious, the risk in their products is mitigated by how jsonpath is used (often as a transitive dependency or not directly processing user input). Red Hat currently does not offer a mitigation that meets their standards for broad applicability and stability. The vulnerability has a CVSS 3.1 base score of 9.8, indicating critical severity.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code remotely in Node.js environments or perform Cross-site Scripting attacks in browser contexts. This can lead to full compromise of the affected system or application, including unauthorized code execution, data integrity loss, and potential privilege escalation. The vulnerability requires no privileges or user interaction to exploit. Within Red Hat products, the exposure and criticality are reduced due to the usage context of the jsonpath component. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Red Hat currently states that no mitigation is available or that existing options do not meet their criteria for ease of use, deployment, or stability. Users should upgrade jsonpath to version 1.3.0 or later where the vulnerability is fixed. For Red Hat products, monitor vendor advisories for updates or patches. In environments where upgrading is not immediately possible, restrict or validate user input to jsonpath evaluation functions to prevent untrusted data processing. Customers using Red Hat Ansible Automation Platform 2.5 should apply the available update that includes a fix for this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-01-29T13:07:32.703Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-1615","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6308","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6309","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6802","vendor":"Red Hat"}]
Threat ID: 69896dc24b57a58fa125bde1
Added to database: 02/09/2026, 05:16:50 UTC
Last enriched: 08/06/2026, 16:17:57 UTC
Last updated: 08/24/2026, 11:16:49 UTC
Views: 1158
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.