Skip to main content
Vulnerability Database/CVE-2026-103431

CVE-2026-103431: collectl Terminal Escape Injection Flaw

CVE-2026-103431 is a terminal escape sequence injection vulnerability in collectl that allows local users to inject malicious sequences through process names. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-103431 Overview

CVE-2026-103431 is a terminal escape sequence injection vulnerability in colmux, a utility shipped with the collectl performance monitoring suite before version 4.3.20.2. The tool fails to sanitize ANSI/VT100 escape sequences in data received from remote collectl instances before rendering it to the operator's terminal. A local user on a monitored host can craft a malicious process name (argv[0]) that, once relayed back and displayed, injects terminal control sequences into the operator's session. The flaw is tracked under CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences.

Critical Impact

An unprivileged local user on a monitored host can inject terminal escape sequences into a remote operator's colmux session, potentially manipulating displayed output or triggering terminal-level actions.

Affected Products

  • collectl versions prior to 4.3.20.2
  • colmux component bundled with vulnerable collectl releases
  • Linux distributions packaging the affected collectl versions (see Red Hat CVE-2026-103431)

Discovery Timeline

  • 2026-10-01 - CVE CVE-2026-103431 published to NVD
  • 2026-10-01 - Last updated in NVD database

Technical Details for CVE-2026-103431

Vulnerability Analysis

colmux is a wrapper around collectl that aggregates performance data from multiple remote hosts and displays it in a terminal-based, top-style view. Operators typically run colmux interactively on a workstation while remote collectl daemons feed process and system metrics back to the console. The displayed fields include process names derived from argv[0] on each monitored host.

The vulnerability stems from colmux writing remote-sourced strings directly to the terminal without filtering ANSI/VT100 control sequences. A local user on any monitored host can rename their process so that argv[0] contains escape codes. When colmux renders that process entry, the operator's terminal interprets those codes rather than displaying them literally.

Attackers can leverage this to overwrite screen regions, hide malicious activity, spoof legitimate output, change terminal titles, or in some terminals trigger clipboard writes and command injection via response sequences. Because the injected sequences execute in the operator's privilege context, the trust boundary between a low-privileged monitored user and the monitoring operator collapses.

Root Cause

The root cause is missing output sanitization in colmux prior to 4.3.20.2. Remote data is passed to the terminal without stripping or escaping the 0x1B (ESC) byte and associated control sequence introducers. Classified as [CWE-150], this is a classic improper neutralization of control sequences in output.

Attack Vector

Exploitation requires a local account on a host that is being monitored by a colmux operator. The attacker spawns or renames a process so that argv[0] embeds crafted VT100 sequences. The collectl agent reports the process entry, colmux relays it over the network to the operator, and the operator's terminal emulator interprets the sequences. User interaction is required because the operator must have an active colmux session viewing the affected host.

No exploit code is described in the available references. See the Red Hat Bug Report #2543974 for additional context.

Detection Methods for CVE-2026-103431

Indicators of Compromise

  • Process entries on monitored hosts whose argv[0] contains the 0x1B (ESC) byte or sequences beginning with ESC [, ESC ], or ESC P.
  • colmux sessions exhibiting unexpected cursor movement, color changes, cleared regions, or altered terminal titles.
  • Operator terminals producing unsolicited input, such as pasted text or executed commands, after viewing a remote host.

Detection Strategies

  • Inspect /proc/*/cmdline on monitored systems for non-printable bytes, particularly 0x1B, in process arguments.
  • Audit historical collectl data archives for process names containing control characters.
  • Alert on collectl package versions below 4.3.20.2 discovered through software inventory scans.

Monitoring Recommendations

  • Log and review colmux invocations from administrator workstations and correlate with user shell history.
  • Monitor execve telemetry on monitored hosts for processes created with suspicious or binary-tainted argv[0] values.
  • Track package versions of collectl across the fleet and flag hosts running affected releases.

How to Mitigate CVE-2026-103431

Immediate Actions Required

  • Upgrade collectl to version 4.3.20.2 or later on all systems that run collectl or colmux.
  • Restrict colmux usage to trusted monitored hosts until patching completes.
  • Avoid running colmux inside terminal emulators known to interpret response sequences that can feed input back to the shell.

Patch Information

The upstream fix is included in collectl4.3.20.2, which sanitizes control characters in data received from remote agents before display. Refer to Red Hat CVE-2026-103431 for distribution-specific package availability and errata status.

Workarounds

  • Pipe colmux output through a filter such as cat -v or sed 's/\\x1b\[[0-9;]*[a-zA-Z]//g' to strip escape sequences before rendering.
  • Limit shell access on monitored hosts so untrusted users cannot control process names reported by collectl.
  • Run colmux inside a hardened terminal emulator configured to disable features such as window title reporting and clipboard access via escape codes.
bash
# Verify the installed collectl version meets the fixed release
collectl --version

# Example sanitizing pipeline for operators running an unpatched colmux
colmux -addr host1,host2 2>&1 | sed -r 's/\\x1b\[[0-9;?]*[A-Za-z]//g; s/\\x1b\][^\\x07]*\\x07//g'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.