Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local vector because attacker needs filesystem write access; no privileges needed to plant filenames; scope changed because terminal emulator outside dua-cli is affected.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
2DescriptionCVE.org
dua-cli fails to filter terminal escape sequences when printing marked file paths after exiting the TUI interface. Attackers can craft file names containing OSC/CSI escape sequences that are interpreted by the terminal emulator when printed, enabling title spoofing, clipboard manipulation, or other escape-sequence attacks.
AnalysisAI
Terminal escape injection in dua-cli allows attackers who can place crafted filenames on a filesystem to manipulate the terminal emulator of any user who subsequently browses that directory with dua-cli and exits the TUI. File names containing OSC or CSI escape sequences are printed unsanitized to stdout after TUI exit, enabling terminal title spoofing, clipboard hijacking, or other escape-sequence attacks against the victim's terminal session. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires the attacker to control or write a filename containing OSC or CSI escape sequences to a directory that the victim subsequently opens in dua-cli. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | Real-world risk is constrained by several factors the CVSS 4.0 vector captures accurately. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | An attacker uploads a file with a name containing an OSC 52 clipboard-write sequence to a shared storage volume accessible to target users. When an administrator runs dua-cli to audit disk usage on that volume, marks the suspicious large file, and exits the TUI, dua-cli prints the filename to stdout and the terminal emulator executes the embedded OSC 52 sequence, silently overwriting the administrator's clipboard with attacker-controlled content - setting up a subsequent paste-hijacking attack. … |
| Remediation | Upgrade dua-cli to the version incorporating commit b6e7cafd305c150834eb887e1de99bcdd3fca85d, available from https://github.com/Byron/dua-cli. … Detailed patch versions, workarounds, and compensating controls in full report. |
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-116 – Improper Encoding or Escaping of Output
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-58481
GHSA-2m2p-wc26-4j7x