{"id":"CVE-2026-40032","state":"PUBLISHED","title":"UAC < 3.3.0-rc1 Command Injection via Placeholder Substitution","description":"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.","publishedAt":"2026-04-08T21:35:27.020Z","updatedAt":"2026-06-23T16:16:30.165Z","severity":{"score":8.5,"label":"High","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["tclahr UAC"],"affected":[{"vendor":"tclahr","product":"UAC","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.3.0-rc1","versionType":"semver"},{"version":"3.3.0-rc1","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/tclahr/uac/pull/443","https://github.com/tclahr/uac/commit/cb95d7166cd47908e1189d9669e43f9a6d3d707f","https://github.com/tclahr/uac/commit/50ace60e172e38feb78347bdf579311c23eff078","https://github.com/tclahr/uac/commit/d0fca5e36d8d6a33a4404f0f6fe92b0424544589","https://github.com/tclahr/uac/issues/429","https://mobasi.ai/sentinel","https://www.vulncheck.com/advisories/uac-rc1-command-injection-via-placeholder-substitution"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40032.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40032","state":"PUBLISHED","datePublished":"2026-04-08T21:35:27.020Z","dateUpdated":"2026-06-23T16:16:30.165Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-04-08T13:36:53.761Z"},"containers":{"cna":{"title":"UAC < 3.3.0-rc1 Command Injection via Placeholder Substitution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tclahr","product":"UAC","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.3.0-rc1","versionType":"semver"},{"version":"3.3.0-rc1","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/tclahr/uac/pull/443","name":"Pull Request","tags":["issue-tracking"]},{"url":"https://github.com/tclahr/uac/commit/cb95d7166cd47908e1189d9669e43f9a6d3d707f","name":"Patch Commit #1","tags":["patch"]},{"url":"https://github.com/tclahr/uac/commit/50ace60e172e38feb78347bdf579311c23eff078","name":"Patch Commit #2","tags":["patch"]},{"url":"https://github.com/tclahr/uac/commit/d0fca5e36d8d6a33a4404f0f6fe92b0424544589","name":"Patch Commit #3","tags":["patch"]},{"url":"https://github.com/tclahr/uac/issues/429","name":"Related Issue","tags":["issue-tracking"]},{"url":"https://mobasi.ai/sentinel","name":"Mobasi Sentinel Vulnerability Index","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/uac-rc1-command-injection-via-placeholder-substitution","name":"VulnCheck Advisory: UAC < 3.3.0-rc1 Command Injection via Placeholder Substitution","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.5,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-06-23T16:16:30.165Z"},"datePublic":"2026-03-28T00:00:00.000Z","tags":["x_open-source"],"credits":[{"lang":"en","value":"Mobasi Security Team","type":"finder"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-09T19:32:33.886220Z","id":"CVE-2026-40032","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-09T19:32:44.357Z"}}]}}}