Command Injection in Unix-like Artifacts Collector
Unix-like Artifacts Collector (UAC) versions prior to 3.3.0 are vulnerable to command injection via the _command_collector function, allowing arbitrary command execution through malicious filenames or artifact definitions.
CVE search metadata
CVE search record: CVE-2026-41450. Severity: high. CVSS: 7.8. KEV: no. Product: Unix-like Artifacts Collector. Brief: Command Injection in Unix-like Artifacts Collector. Brief link: https://feed.craftedsignal.io/briefs/2026-08-uac-command-injection/
Unix-like Artifacts Collector (UAC) versions prior to 3.3.0 contain a command injection vulnerability within the _command_collector function. The vulnerability arises because lines of command output are processed through a sed command and subsequently evaluated using the shell eval command without sufficient input sanitization. An attacker capable of influencing the filenames or the contents of artifact definitions can inject shell metacharacters, such as command substitution syntax or semicolons, to execute arbitrary code with the privileges of the user running the collection script. This poses a significant risk to forensic analysts, as UAC is frequently executed on compromised systems where malicious artifacts may be present specifically to target investigative tooling.
Attack Chain
- An attacker gains initial access to a target system and anticipates forensic investigation using UAC.
- The attacker creates malicious files or modifies artifact definitions containing shell metacharacters (e.g., $(id), ;rm -rf /).
- A forensic analyst initiates a UAC collection run on the compromised host.
- The UAC script invokes the _command_collector function to process system artifacts.
- The collector reads the attacker-controlled filenames or artifact contents containing the malicious payload.
- The vulnerability in _command_collector passes these strings through sed and subsequently to eval without escaping.
- The shell interprets the injected metacharacters, executing arbitrary commands under the context of the user running the UAC script.
Impact
Successful exploitation allows for arbitrary command execution on the analyst's machine. Given that UAC is intended for forensic acquisition, this vulnerability could be used by an attacker to compromise the forensic workstation, potentially leading to the modification of evidence, exfiltration of collected forensic data, or lateral movement within the incident response infrastructure.
Recommendation
Prioritized, concrete actions for detection engineering teams:
- Upgrade all instances of UAC to version 3.3.0 or later to patch the underlying vulnerability in _command_collector.
- Audit existing custom artifact definitions for shell metacharacters and unusual patterns that could trigger the eval-based injection.
- Monitor execution logs for UAC processes where the command line contains suspicious shell operators, which may indicate an attempt to weaponize artifact collection against an analyst.
Immediate actions
Patch all UAC deployments to version 3.3.0 or later.
Mitigations
Restrict UAC execution to low-privileged service accounts on analyst machines.
CVE-2026-41450