CVE-2026-54162
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.
Properties
- Severity
- MEDIUM
- Summary
- Ember has unneutralized terminal escape/control sequences from Caddy logs injected into the operator's TUI
- Nvd fetched at
- 2026-10-28T23:43:43.157973+00:00
- Cvss severity
- MEDIUM
- Cvss score
- 4.7
- Retrieved at
- 2026-10-28T23:44:40+00:00
- Ghsa published
- 2026-08-20T18:36:01Z
- Source url
- https://github.com/advisories/GHSA-x3g7-qrwc-f6c5
- Ghsa updated
- 2026-08-20T18:36:03Z
- Ghsa id
- GHSA-x3g7-qrwc-f6c5
- Score
- 4.7
- Cvss version
- 3.1
- Last source
- NVD
- Cve id
- CVE-2026-54162
- Cvss vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- First seen by Signal
- 2026-10-28T23:44:40+00:00
- Name
- CVE-2026-54162
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
- Published at
- 2026-10-28T20:18:00.743
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Explore deeper with Ninja Signal's threat intelligence graph