Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/alexandre-daubois/ember
  4. ›
  5. CVE-2026-54162

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

August 20, 2026

Ember’s interactive TUI renders fields taken from the monitored Caddy server’s access logs — most notably the request URI — straight to the operator’s terminal without neutralising terminal escape or control sequences (CWE-150). Those log fields are populated from arbitrary, unauthenticated HTTP requests, so any remote client can embed ANSI/OSC/CSI control bytes that the operator’s terminal emulator interprets when the log row is displayed. The bytes survive the whole pipeline: Caddy escapes them into its JSON access log as unicode escapes, ember’s ParseLogLine decodes them back to raw 0x1b/0x07 bytes, and the row formatters concatenate them into the bubbletea View() output with no encoding before they reach os.Stdout.

References

  • github.com/advisories/GHSA-x3g7-qrwc-f6c5
  • github.com/alexandre-daubois/ember/commit/fcb7160e58dba58d6f9b5033cc312fdedc8c9f6b
  • github.com/alexandre-daubois/ember/releases/tag/v1.4.2
  • github.com/alexandre-daubois/ember/security/advisories/GHSA-x3g7-qrwc-f6c5
  • nvd.nist.gov/vuln/detail/CVE-2026-54162

Code Behaviors & Features

Detect and mitigate CVE-2026-54162 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.2

Fixed versions

  • 1.4.2

Solution

Upgrade to version 1.4.2 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences

Source file

go/github.com/alexandre-daubois/ember/CVE-2026-54162.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:52 +0000.