Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun nushell on attacker-influenced string data
-
DeliverySerialize via `to json`/`to json --raw`
-
ExploitControl/escape bytes emitted unescaped
-
ExecutionInjected sequences reach consuming terminal
-
ImpactSpoof or manipulate terminal output
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Escape character neutralization
|
| Exploitation Conditions | Exploitation requires an attacker to get a string containing raw control or escape bytes (0x00-0x1f, notably ESC 0x1b) serialized through nushell's |
| Impact | All severity signals point to a low-to-moderate, defensive-grade issue rather than a top priority. The CVSS 4.0 base score is 4.8 (medium) with a local attack vector (AV:L), low complexity (AC:L), low privileges required (PR:L), no user interaction, and integrity-only impact (VI:L; VC:N, VA:N, no scope change). The exploit-maturity metric E:P signals proof-of-concept maturity, consistent with the fix PR (#19443) carrying tests that demonstrate the unescaped output; this is a PoC reference, not confirmed active exploitation. It is NOT listed in CISA KEV, and no EPSS score was provided, so widespread or automated exploitation is not indicated. The vuln.today priority label is 'this_month' (not act_now/emergency), matching the limited, local, integrity-only character. Conflicting signal to flag explicitly: the description states the fix PR 'awaits acceptance' (i.e., unmerged), while the multi-source 'Patch: Available from vendor' field claims a patch is available - these disagree, and no fixed release version is given, so defenders should verify whether a released nushell build actually contains the fix. Net: a real but low-urgency output-encoding/terminal-escape-injection bug, not a high-CVSS-but-overrated remote threat. |
| Exploit ScenarioDerived | An attacker arranges for a string containing raw control or escape bytes (including ESC, 0x1b, as in the ANSI sequence '\u{1b}[31m' used in the fix's tests) to be serialized by nushell's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Improper escaping in nushell's JSON serializer leaves C0 control bytes, including ESC (0x1b), unescaped in to json and to json --raw output on nushell 0.116.0 and 0.116.1. A local low-privileged user who can pass attacker-influenced strings through those serialization commands can create JSON that may inject control sequences if it is later rendered by a terminal or another consumer that interprets escape sequences; the assessed impact is low and integrity-only, and exploitation depends on that downstream rendering context. No CISA KEV entry is provided, while the CVSS 4.0 vector's E:P metric indicates Proof-of-Concept exploit maturity rather than confirmed active exploitation; the upstream fix is in pull request #19443, which the report says awaits acceptance.
RemediationAI
The supplied patch field says Available from vendor, but the concrete upstream fix is nushell pull request #19443 and the CVE description says that PR awaits acceptance; no tagged release containing the fix is identified, so the status is upstream fix available (PR/commit); released patched version not independently confirmed. Track GitHub issue 19197 and PR 19443 for merge and release, and apply the patched nushell build once published. Until then, avoid passing untrusted strings that contain raw control or escape bytes through to json or to json --raw when the output will be rendered in a terminal or other escape-interpreting context, and limit local ability to run those pipelines over attacker-influenced data; the assessed vector requires local low-privileged command execution and a downstream rendering context. No vendor workaround is described in the provided sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
nushell is a Rust-based shell, and its nu-json crate implements JSON/Hjson serialization used by the to json and to json --raw commands. The affected escape_bytes function in crates/nu-json/src/ser.rs manually escaped only quote, backslash, backspace, formfeed, newline, carriage return, and tab, leaving other C0 control bytes (0x00-0x1f, notably ESC 0x1b) raw; this matches CWE-150, improper neutralization of escape, meta, or control sequences. The supplied PR diff replaces the byte loop with a write_escaped helper that delegates to serde_json::to_writer and preserves serde_json's escape table, adds replacement of invalid UTF-8 with U+FFFD, and adds tests for control characters in values, keys, nested values, and raw output. The assessed vector is local, low-privilege, no user interaction, integrity-only low impact, with the practical trigger being serialization of attacker-influenced control bytes and later consumption of the JSON by a terminal or escape-interpreting renderer.
Know when Nushell 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:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Local data-conversion flaw triggered by running nushell on supplied data (AV:L, AC:L, PR:L, UI:N); only integrity is affected via unescaped control sequences (I:L), with no confidentiality or availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in nushell up to 0.116.1. Impacted is the function escape_bytes of the file crates/nu-json/src/ser.rs of the component Data Conversion Handler. The manipulation leads to improper neutralization of escape, meta, or control sequences. The attack must be carried out locally. The pull request to fix this issue awaits acceptance.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-120415
GHSA-xwxm-rqhj-8mmw
NVD
CVE.org
EPSS
VulDB
Exploit-DB