Description
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.
Published: 2026-08-13
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when dua‑cli prints marked file paths after the TUI exits; the program fails to filter terminal escape sequences embedded in file names. Attackers can create OSC or CSI codes in a filename, causing the terminal interpreter to execute them when the path is printed. This allows malicious alteration of the terminal title, injection of clipboard data, or other escape‑sequence exploits. The weakness is an input/output encoding flaw (CWE‑116). The impact is limited to the local terminal session, potentially leading to spoofing, data leakage, and disruption of normal UI behavior.

Affected Systems

Vendor Byron produces dua‑cli, a disk usage analyzer. No specific version range is listed, so any installed instance of dua‑cli that contains the unfixed code is affected. Users who download and run unauthenticated releases from the public repository are therefore at risk.

Risk and Exploitability

The CVSS score of 4.8 classifies the issue as moderate. The EPSS score is not available and the vulnerability is not in the CISA KEV catalog, indicating it is not widely exploited. Attackers must craft or place maliciously named files on a filesystem that the user can access, and the victim must run dua‑cli and view marked paths. The vector is local, relying on the presence of exploitative filenames rather than a remote trigger.

Generated by OpenCVE AI on August 13, 2026 at 22:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade dua‑cli to the latest commit that adds filtering for terminal escape sequences.
  • Remove or rename any files whose names contain non‑printable or control characters before launching dua‑cli.
  • Configure the terminal emulator to escape or disable processing of control sequences, or run in a mode that sanitizes output when uncertain.

Generated by OpenCVE AI on August 13, 2026 at 22:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Description 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.
Title dua-cli Terminal Escape Sequence Injection via Marked Paths
Weaknesses CWE-116
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T21:17:37.099Z

Reserved: 2026-08-12T18:19:17.024Z

Link: CVE-2026-73479

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T22:17:26.747

Modified: 2026-08-13T22:17:26.747

Link: CVE-2026-73479

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T22:45:03Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output