HarborGuard / CVE
Back to search
HIGHCVE-2026-40032Published Modified CNA VulnCheck

CVE-2026-40032: UAC < 3.3.0-rc1 Command Injection via Placeholder Substitution

UAC (Unix-like Artifacts Collector) before 3.3.0-rc1 contains a command injection vulnerability in the placeholder substitution and command execution pipeline where the _run_command() function passes constructed command strings directly to eval without proper sanitization. Attackers can inject shell metacharacters or command substitutions through attacker-controlled inputs including %line% values from foreach iterators and %user% / %user_home% values derived from system files to achieve arbitrary command execution with the privileges of the UAC process.

Metrics

CVSS v4.0
8.5
Severity
HIGH
Fixed in
3.3.0-rc1
Affected Products
1

Fix available

3.3.0-rc1
Affected packages
  • tclahr / UAC
    < 3.3.0-rc1 (from 0)
    Fixed in 3.3.0-rc1
CVSS Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N