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.
Published: 2026-10-28
Score: 4.7 Medium
EPSS: n/a
KEV: No
Impact: Spoofing / Clipboard hijacking
Action: Apply Patch
AI Analysis

Impact

Ember, a real‑time terminal dashboard for Caddy, failed to neutralize terminal escape and control sequences present in Caddy access logs. An unauthenticated external client can embed ANSI, OSC, or CSI bytes into an HTTP request target. Caddy escapes these bytes into JSON, then Ember decodes them and renders them to stdout. The terminal emulator interprets the injected sequences, enabling the attacker to spoof the monitoring dashboard, hijack the clipboard via OSC 52, or spoof the window title using OSC 0/2. The vulnerability does not provide generic remote code execution but can lead to UI manipulation and information leakage if the operator interacts with the output.

Affected Systems

Ember products from the alexandre-daubois vendor, specifically all releases prior to version 1.4.2.

Risk and Exploitability

The CVSS score of 4.7 classifies this issue as low severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating limited evidence of exploitation in the wild. The attack requires an unauthenticated remote client to send a crafted HTTP request, and the attacker must have an operator view the affected Logs tab; thus the likelihood of successful exploitation is low but still notable in environments where operators access the dashboard with full terminal privileges.

Generated by OpenCVE AI on October 28, 2026 at 21:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ember to version 1.4.2 or later to eliminate unneutralized terminal sequences.
  • Restrict external access to the Caddy server’s access logs and the Ember operator interface, using firewall or network segmentation.
  • Configure or replace the terminal emulator used by operators with one that filters or blocks control sequences, or enforce output sanitization within Ember where possible.

Generated by OpenCVE AI on October 28, 2026 at 21:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x3g7-qrwc-f6c5 Ember has unneutralized terminal escape/control sequences from Caddy logs injected into the operator's TUI
History

Wed, 28 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Alexandre-daubois
Alexandre-daubois ember
Vendors & Products Alexandre-daubois
Alexandre-daubois ember

Wed, 28 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Ember: Unneutralised terminal escape/control sequences from Caddy logs injected into the operator's TUI
Weaknesses CWE-150
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N'}


Subscriptions

Alexandre-daubois Ember
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-28T19:44:41.999Z

Reserved: 2026-06-11T21:46:52.380Z

Link: CVE-2026-54162

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T20:18:00.743

Modified: 2026-10-28T20:18:00.743

Link: CVE-2026-54162

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T22:00:18Z

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences