CVE-2026-54162: Ember has unneutralized terminal escape/control sequences from Caddy logs injected into the operator's TUI
Ember’s interactive TUI renders fields taken from the monitored Caddy server’s access logs — most notably the request URI — straight to the operator’s terminal without neutralising terminal escape or control sequences (CWE-150). Those log fields are populated from arbitrary, unauthenticated HTTP requests, so any remote client can embed ANSI/OSC/CSI control bytes that the operator’s terminal emulator interprets when the log row is displayed. The bytes survive the whole pipeline: Caddy escapes them into its JSON access log as unicode escapes, ember’s ParseLogLine decodes them back to raw 0x1b/0x07 bytes, and the row formatters concatenate them into the bubbletea View() output with no encoding before they reach os.Stdout.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-54162 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →