# CVE-2026-54162: Ember: Unneutralised terminal escape/control sequences from Caddy logs injected into the operator's TUI

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-08-20T18:36:01.000Z
- Modified: 2026-10-29T19:17:22.213Z
- Also known as: GHSA-x3g7-qrwc-f6c5, GO-2026-6270
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- alexandre-daubois ember: < 1.4.2
- github.com/alexandre-daubois/ember (Go): before 1.4.2

## Every score

- GitHub_M: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N`

## References

- <https://github.com/alexandre-daubois/ember/security/advisories/GHSA-x3g7-qrwc-f6c5> (advisory, web)
- <https://github.com/alexandre-daubois/ember/commit/fcb7160e58dba58d6f9b5033cc312fdedc8c9f6b> (fix, web)
- <https://github.com/alexandre-daubois/ember/releases/tag/v1.4.2> (web)
- <https://github.com/alexandre-daubois/ember> (package)

## Sources

- CVE List: [CVE-2026-54162](https://www.cve.org/CVERecord?id=CVE-2026-54162), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-x3g7-qrwc-f6c5](https://github.com/advisories/GHSA-x3g7-qrwc-f6c5), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6270](https://pkg.go.dev/vuln/GO-2026-6270), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-54162](https://nvd.nist.gov/vuln/detail/CVE-2026-54162), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-54162 · Whole record: https://cve.day/CVE-2026-54162.json · Rebuilt by cve.day 2026-11-25T22:59:47.683Z
