Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-54162

MEDIUM 4.7EPSS 21%

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

Also known as GHSA-x3g7-qrwc-f6c5, GO-2026-6270

Mitigation

  • Upgrade github.com/alexandre-daubois/ember to 1.4.2 or later.

Who should check

  • Projects that depend on Go package github.com/alexandre-daubois/ember (< 1.4.2)
  • Anyone running alexandre-daubois ember < 1.4.2

Vulnerability facts

Affected
github.com/alexandre-daubois/ember < 1.4.2
Fixed in
1.4.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
4.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
CWE
CWE-150
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/alexandre-daubois/ember< 1.4.21.4.2osv
alexandre-daubois ember< 1.4.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-54162. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54162.md
Affected: github.com/alexandre-daubois/ember < 1.4.2
Fixed in: 1.4.2

Steps:
1. Search this machine and project for github.com/alexandre-daubois/ember (Go), alexandre-daubois ember: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-54162 being exploited?

There is no confirmed exploitation: CVE-2026-54162 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-54162?

Medium: CVSS 4.7 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-54162?

github.com/alexandre-daubois/ember < 1.4.2.

Is there a fix for CVE-2026-54162?

Yes. Fixed in 1.4.2. Upgrade github.com/alexandre-daubois/ember to 1.4.2 or later.

How do I check if I'm affected by CVE-2026-54162?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors