Junglewise Threat Intelligence

CVE-2026-40032: tclahr UAC command injection in placeholder substitution

CVE-2026-40032 · Severity: high · CVSS 7.8 · Published 2026-04-08

Executive brief

UAC (Unix-like Artifacts Collector) is a tool used by security professionals to collect forensic data from Unix-like systems. A vulnerability in how the tool processes system information allows an attacker to execute unauthorized commands on the machine where the tool is running. This could lead to a full system compromise or data theft if the tool is used to scan a compromised system containing malicious filenames or user accounts.

Technical details

A command injection vulnerability exists in UAC's `_run_command()` function, which passes constructed command strings directly to the `eval` shell command without proper sanitization. The flaw is triggered during the substitution of placeholders such as `%line%`, `%user%`, and `%user_home%`. An attacker can achieve arbitrary command execution with the privileges of the UAC process by placing shell metacharacters or command substitutions into system files (like /etc/passwd) or iterator inputs that UAC subsequently processes. The issue is fixed in version 3.3.0-rc1 by escaping runtime placeholders before evaluation.

Affected products

  • tclahr UAC (Unix-like Artifacts Collector) before 3.3.0-rc1

Timeline

  • 2026-03-15: patched: Initial fix to escape placeholders before eval
  • 2026-04-08: disclosed: CVE published
  • 2026-04-08: advisory

References

Related threats