CVE-2026-54162
MEDIUM 4.7CVSS 3.1Ember has unneutralized terminal escape/control sequences from Caddy logs injected into the operator's TUI
Ember is a real-time terminal dashboard for Caddy servers with FrankenPHP support. Prior to 1.4.2, interactive TUI row formatters pass Caddy access-log fields, particularly the request URI, through the fitCellLeft render helper without neutralizing terminal escape or control sequences. An unauthenticated remote client can place ANSI, OSC, or CSI control bytes in an ordinary HTTP request target. Caddy JSON-escapes those bytes, ParseLogLine decodes them back into raw controls, and the formatters concatenate them into View() output reaching os.Stdout. When the operator views the default Logs tab, the terminal interprets these sequences, allowing monitoring-dashboard spoofing, clipboard hijacking through OSC 52, and window-title spoofing through OSC 0/2. This works even with a loopback-only log listener because the input arrives through normal Caddy access logs. Certificates and Routes share secondary unneutralized render sinks. The --json, --once, and daemon --expose modes are unaffected because they do not render an interactive terminal. Consequences depend on the terminal emulator and usually require further operator action to escalate; this is not general-purpose remote code execution. This issue is fixed in version 1.4.2.
- Published
- 28 Oct 2026
- Last modified
- 29 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-150
- Also known as
- GHSA-x3g7-qrwc-f6c5GO-2026-6270
- Sources
- NVDJSONOSV GHSA-x3g7-qrwc-f6c5JSONOSV GO-2026-6270JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/alexandre-daubois/ember | < 1.4.2 | 1.4.2 |
References
- https://github.com/alexandre-daubois/ember/commit/fcb7160e58dba58d6f9b5033cc312fdedc8c9f6b · WEB, FIX
- https://github.com/alexandre-daubois/ember/releases/tag/v1.4.2 · WEB
- https://github.com/alexandre-daubois/ember/security/advisories/GHSA-x3g7-qrwc-f6c5 · WEB, ADVISORY
- https://github.com/alexandre-daubois/ember · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 28 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2026)