CVE-2026-73480
Received Received - Intake

gdu Terminal Escape Sequence Injection in Directory Names

Vulnerability report for CVE-2026-73480, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-14

Assigner: VulnCheck

Description

gdu fails to strip terminal escape sequences from directory and file names when printing paths after TUI exit. Attackers can craft malicious directory or file names containing escape sequences that are interpreted by the terminal, enabling title spoofing, clipboard manipulation, or other terminal-dependent effects.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-14
Generated
2026-09-03
AI Q&A
2026-08-14
EPSS Evaluated
2026-09-01
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-116 The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

gdu does not remove terminal escape sequences from directory and file names when displaying paths after exiting the terminal user interface. Attackers can create malicious names with escape sequences that alter terminal behavior, such as spoofing window titles or manipulating clipboard content.

Detection Guidance

This vulnerability can be detected by inspecting directory and file names for terminal escape sequences. Use commands like 'ls -R | cat -v' or 'find . -print | grep -P "\x1b"' to identify paths containing escape characters. Review terminal output for unexpected title changes or clipboard actions.

Impact Analysis

This vulnerability could allow attackers to trick users into performing unintended actions by manipulating terminal output. For example, a crafted file name might change the terminal title to mimic a trusted application or alter clipboard contents to insert malicious commands.

Compliance Impact

This vulnerability does not directly impact compliance with GDPR or HIPAA as it involves terminal escape sequence manipulation rather than data exposure or privacy violations. However, if malicious directory names are used to deceive users into performing actions that lead to unauthorized data access, it could indirectly contribute to compliance violations depending on the context of use.

Mitigation Strategies

Update gdu to the latest version to patch the escape sequence handling issue. Avoid opening untrusted directories or files in terminals. Use tools like 'sed' or 'tr' to sanitize filenames if necessary. Monitor terminal behavior for suspicious activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-73480. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart