Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted cheatsheet/suggestion directory to victim
-
ExploitVictim runs navi and selects entry
-
ExecutionMetacharacters in file name injected into shell command
-
ImpactArbitrary commands execute with victim privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker control a cheatsheet variable value or a file name within a navi suggestion command directory (the crafted content must be delivered to and imported by the victim, e.g. via a shared/poisoned cheatsheet repo). The victim must then run navi locally and invoke the affected cheatsheet/suggestion so the unescaped value is substituted into a shell command - this is the required user interaction (UI:P) and the attack requirement (AT:P). It is local (AV:L), not network-reachable, and no authentication to navi itself is needed (PR:N). Limiting factors: navi is an interactive developer CLI, so exploitation hinges on social-engineering the victim into using attacker-influenced cheatsheet content, and code execution is confined to the victim user's own privileges. Affected: navi through 2.24.0. |
| Impact | The vendor CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) and 7.3 score describe a local, interaction-and-condition-dependent command-injection flaw, not a remotely-triggerable RCE. Despite the HIGH banner, the real-world exploitability is bounded: AV:L means the malicious cheatsheet/suggestion-command directory content must already reach the victim's machine, AT:P indicates a specific attack requirement (a crafted file name in a suggestion command directory), and UI:P requires the victim to actually run navi and invoke the affected cheatsheet. The VC:H/VI:H/VA:H impact is credible because successful injection yields arbitrary command execution with the victim's privileges (CWE-78). There is no EPSS score, no CISA KEV listing, and no public exploit code referenced - so this is 'no public exploit identified at time of analysis.' Net: a legitimately high-impact bug but low probability of opportunistic mass exploitation; it is a targeted/social-engineering-shaped threat (poisoned shared cheatsheets or repos), i.e. a real but not urgent priority. Signals are internally consistent - no network-vs-local contradiction - the only conflict is the HIGH numeric score versus the several limiting conditions (local access, attack requirement, user interaction). |
| Exploit ScenarioDerived | An attacker publishes or contributes a navi cheatsheet repository (or supplies a suggestion command directory) containing a file whose name embeds shell metacharacters. When a victim imports and uses that cheatsheet, navi substitutes the unescaped variable value into a shell command, executing the attacker's payload with the victim's privileges. No public proof-of-concept is referenced in the provided data; exploitation requires local delivery of the crafted content plus the victim invoking the affected suggestion. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
Command injection in navi through 2.24.0 allows an attacker who controls cheatsheet variable values - or file names inside a suggestion command directory - to have unescaped shell metacharacters substituted into commands that navi executes with the victim's privileges. Exploitation is local and condition-dependent: the crafted content must reach the victim (for example through a shared or poisoned cheatsheet repository) and the victim must interactively invoke the affected cheatsheet, after which arbitrary commands run at the user's own privilege level. No public exploit code was identified at time of analysis, and the flaw is not listed in CISA KEV, but the CVSS 4.0 score of 7.3 reflects high confidentiality, integrity, and availability impact on the victim's account once the conditions are met.
RemediationAI
No vendor-released patch was identified at time of analysis; the available references are the upstream tracking issue (https://github.com/denisidoro/navi/issues/1037) and the source links, not a tagged fixed release, so users should monitor that issue and the project repository (https://github.com/denisidoro/navi) for a patched version and upgrade as soon as one is published. In the interim, treat cheatsheets and suggestion command directories as untrusted code: do not import, clone, or sync cheatsheets from repositories or collaborators you do not fully trust, and inspect cheatsheet definitions for unquoted variable substitutions before use. Avoid running navi in directories whose file names are attacker-influenced, since crafted file names are an injection vector, and consider invoking navi inside a container or restricted sandbox with a minimal filesystem and no access to credentials or SSH agent sockets, which limits the blast radius of any injected command to an isolated environment at the cost of losing host convenience. Running navi under an unprivileged account and removing sensitive tokens from its environment reduces the value of successful injection; disabling or not configuring any feature that resolves values from external or shared sources removes the attack path entirely. Finally, review the VulnCheck advisory (https://www.vulncheck.com/advisories/navi-through-2.24.0-os-command-injection-via-cheatsheet-variables) for any update on remediation guidance.
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
navi is an interactive command-line cheatsheet tool that stores snippets with placeholder variables and, when a user selects a snippet, interpolates those variable values into a shell command string before handing it to the shell. The flaw is a classic CWE-78 OS command injection: the substitution logic in src/commands/core/actor.rs (lines 159-193) and the shell invocation helper in src/common/shell.rs (lines 39-50) build the command line without escaping or quoting metacharacters embedded in variable values. Because file names in a suggestion command directory can also feed those variable values, an attacker who can influence directory contents or cheatsheet definitions controls part of the string that reaches the shell. The underlying issue is therefore insufficient output/argument neutralization at the point where untrusted data crosses into a shell interpreter, not a parser or memory-safety defect. The affected package is tracked as CPE cpe:2.3:a:denisidoro:navi:*:*:*:*:*:*:*:*, covering all releases through 2.24.0.
Know when Navi 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:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local delivery and an attack requirement (crafted file name) make it AV:L/AC:H; victim must run navi (UI:R); injection yields full command execution as the victim, so C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
navi through 2.24.0 fails to properly escape cheatsheet variable values when substituting them into shell commands. Attackers can inject shell metacharacters through crafted file names in suggestion command directories to execute arbitrary commands with victim privileges.
Executive ViewAI
navi versions through 2.24.0 contain a command injection flaw that allows an attacker controlling cheatsheet variable values or file names in a suggestion command directory to execute arbitrary commands with the victim's privileges. This affects developers and engineers who use navi to manage command snippets, potentially leading to compromise of individual workstations and sensitive data if a malicious cheatsheet is loaded. Leadership should prioritize remediation because a successful exploit can result in full account compromise, though no public exploit identified at time of analysis and no vendor-released patch is currently available.
No vendor-released patch identified at time of analysis; interim mitigations include restricting use to trusted cheatsheets only, sanitizing cheatsheet variable values and file names to strip shell metacharacters, limiting write access to cheatsheet repositories, and running navi with least privilege.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-87945
GHSA-mvf3-jgvq-79hc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB