CVE-2026-72847
The broot vulnerability (CVE-2026-72847) allows local users to inject terminal escape sequences via file or directory names, potentially leading to unauthorized actions in the terminal. This issue arises because broot renders file and directory names in its interactive tree view without proper control-character filtering. Users with untrusted local access can exploit this by creating files or directories with malicious names, injecting terminal escape sequences that can be executed when another user browses the directory using broot. The impact of such an injection depends on the terminal emulator in use. To mitigate this vulnerability, users should restrict untrusted user file system modifications and implement terminal emulator hardening. Additionally, compensating controls such as file system access controls and monitoring for suspicious file system activity should be considered. It's crucial for security teams to prioritize patching or mitigating this vulnerability to prevent potential unauthorized actions in the terminal. Asset inventory and change management processes should be updated to account for this vulnerability, and monitoring and detection capabilities should be reviewed to ensure they can detect potential exploitation attempts.