CVE-2026-72847: Improper Neutralization of Escape, Meta, or Control Sequences in Canop broot
broot, a file and directory tree viewer, improperly handles control characters in file names by rendering them directly to the terminal without filtering. This allows local users who can create files to inject terminal escape sequences into file names, which are then executed on the terminal of anyone browsing the directory. The impact depends on the terminal emulator's handling of such sequences. This vulnerability affects broot versions up to and including 1.58.0 and has a low CVSS score of 2.4.
AI Analysis
Technical Summary
broot renders file and directory names exactly as read from the filesystem using to_string_lossy() without filtering control characters. This allows injection of terminal escape sequences (e.g., OSC 52 clipboard-write sequences) into the terminal output when browsing directories. The vulnerability arises because no control-character filtering exists despite documentation suggesting some characters might be stripped. The exploitability depends on the terminal emulator's behavior. The vulnerability affects broot versions <=1.58.0. No official remediation or patch has been documented as of the published date.
Potential Impact
Local users who can create files can embed terminal escape sequences in file names, which are then rendered unfiltered to the terminal of users browsing those directories with broot. This can lead to unintended terminal behavior or potential information leakage depending on the terminal emulator. The CVSS score of 2.4 indicates a low severity impact, reflecting limited attack vector and complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when browsing directories containing files created by untrusted users. Consider using terminal emulators with mitigations against malicious escape sequences or avoid using broot to browse untrusted directories.
CVE-2026-72847: Improper Neutralization of Escape, Meta, or Control Sequences in Canop broot
Description
broot, a file and directory tree viewer, improperly handles control characters in file names by rendering them directly to the terminal without filtering. This allows local users who can create files to inject terminal escape sequences into file names, which are then executed on the terminal of anyone browsing the directory. The impact depends on the terminal emulator's handling of such sequences. This vulnerability affects broot versions up to and including 1.58.0 and has a low CVSS score of 2.4.
CVSS v4.0
Score 2.4low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
broot renders file and directory names exactly as read from the filesystem using to_string_lossy() without filtering control characters. This allows injection of terminal escape sequences (e.g., OSC 52 clipboard-write sequences) into the terminal output when browsing directories. The vulnerability arises because no control-character filtering exists despite documentation suggesting some characters might be stripped. The exploitability depends on the terminal emulator's behavior. The vulnerability affects broot versions <=1.58.0. No official remediation or patch has been documented as of the published date.
Potential Impact
Local users who can create files can embed terminal escape sequences in file names, which are then rendered unfiltered to the terminal of users browsing those directories with broot. This can lead to unintended terminal behavior or potential information leakage depending on the terminal emulator. The CVSS score of 2.4 indicates a low severity impact, reflecting limited attack vector and complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should exercise caution when browsing directories containing files created by untrusted users. Consider using terminal emulators with mitigations against malicious escape sequences or avoid using broot to browse untrusted directories.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:14:51.468Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a873babacd9273b49eebb06
Added to database: 08/20/2026, 17:38:51 UTC
Last enriched: 08/20/2026, 17:52:33 UTC
Last updated: 08/21/2026, 00:42:49 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.