{"id":"CVE-2026-40032","summary":"UAC \u003c 3.3.0-rc1 Command Injection via Placeholder Substitution","details":"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.","modified":"2026-07-08T08:14:03.830750184Z","published":"2026-04-08T21:35:27.020Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40032.json","cwe_ids":["CWE-78"],"cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40032.json"},{"type":"ADVISORY","url":"https://mobasi.ai/sentinel"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40032"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/uac-rc1-command-injection-via-placeholder-substitution"},{"type":"REPORT","url":"https://github.com/tclahr/uac/issues/429"},{"type":"REPORT","url":"https://github.com/tclahr/uac/pull/443"},{"type":"FIX","url":"https://github.com/tclahr/uac/commit/50ace60e172e38feb78347bdf579311c23eff078"},{"type":"FIX","url":"https://github.com/tclahr/uac/commit/cb95d7166cd47908e1189d9669e43f9a6d3d707f"},{"type":"FIX","url":"https://github.com/tclahr/uac/commit/d0fca5e36d8d6a33a4404f0f6fe92b0424544589"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tclahr/uac","events":[{"introduced":"0"},{"fixed":"27c78524a146ecc446006091e5b7acc7306140fe"},{"fixed":"50ace60e172e38feb78347bdf579311c23eff078"},{"fixed":"cb95d7166cd47908e1189d9669e43f9a6d3d707f"},{"fixed":"d0fca5e36d8d6a33a4404f0f6fe92b0424544589"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"3.3.0-rc1"}]}}],"versions":["v3.1.0","v3.0.0","v2.9.1","v2.9.0","v2.8.0","v2.7.0","v2.6.0","v2.5.0","v2.4.1","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v1.2.0","v1.1.1","v1.1.0","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40032.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}