{"id":"CVE-2026-54162","published":"2026-10-28T19:44:41Z","modified":"2026-10-29T18:31:49Z","title":"Ember: Unneutralised terminal escape/control sequences from Caddy logs injected into the operator's TUI","vendor":"alexandre-daubois","product":"ember","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.16745,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/alexandre-daubois/ember/security/advisories/GHSA-x3g7-qrwc-f6c5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/alexandre-daubois/ember/commit/fcb7160e58dba58d6f9b5033cc312fdedc8c9f6b","tags":["x_refsource_MISC"]},{"url":"https://github.com/alexandre-daubois/ember/releases/tag/v1.4.2","tags":["x_refsource_MISC"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":3.35},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"alexandre-daubois","affectedVersions":[{"vendor":"alexandre-daubois","product":"ember","versions":["< 1.4.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T18:31:30.695330Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/alexandre-daubois/ember","vulnerableRanges":["<1.4.2"],"patched":["1.4.2"],"from":["GHSA-x3g7-qrwc-f6c5","GO-2026-6270"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112411","exploited":false,"provenance":"source"}}