Skip to main content
← All vulnerabilities
CVE-2026-54162EUVD-2026-112411GHSA-X3G7-QRWC-F6C5GO-2026-6270

Ember: Unneutralised terminal escape/control sequences from Caddy logs injected into the operator's TUI

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Ember, a terminal dashboard for Caddy servers with FrankenPHP support, versions before 1.4.2 are affected. Unauthenticated remote clients can inject terminal control sequences through HTTP request paths that appear in Caddy access logs, which the dashboard then displays unfiltered, letting an attacker spoof dashboard content, hijack the clipboard, or change the window title depending on the operator's terminal emulator.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • alexandre-daubois ember

    fixed in 1.4.2

  • github.com/alexandre-daubois/emberGo

    fixed in 1.4.2

References 3

GitHub · alexandre-daubois/ember