Command Injection Vulnerability in rpmuncompress
A command injection vulnerability in rpmuncompress allows local attackers to execute arbitrary code by supplying specially crafted archive filenames containing shell metacharacters.
CVE search metadata
CVE search record: CVE-2026-84838. Severity: high. CVSS: 7.8. KEV: no. Product: rpmuncompress. Brief: Command Injection Vulnerability in rpmuncompress. Brief link: https://feed.craftedsignal.io/briefs/2026-09-rpmuncompress-cmd-injection/
CVE-2026-84838 is a command injection vulnerability residing within the rpmuncompress utility. The flaw exists due to improper sanitization of archive filenames, which allows an attacker to inject arbitrary shell metacharacters into the command execution flow. When a user or an automated script processes a malicious archive file using rpmuncompress, the unescaped filename is passed directly to the underlying shell command string. This leads to the execution of attacker-supplied commands with the privileges of the user running the utility. Defenders should be aware that this vulnerability facilitates local privilege escalation or arbitrary code execution, impacting the confidentiality, integrity, and availability of data accessible by the affected process.
Impact
Successful exploitation of CVE-2026-84838 allows a local attacker to execute arbitrary commands, potentially resulting in full system compromise for the specific user context in which rpmuncompress is invoked. Automated workflows that process externally sourced archive files are at higher risk.
Recommendation
- Monitor for the execution of rpmuncompress on systems processing external or untrusted archive files.
- Implement input validation on filenames before passing them to archive extraction utilities in automated workflows.
- Audit logs for instances where rpmuncompress is invoked with filenames containing shell metacharacters like semicolon (;), pipe (|), or backticks (`).
Immediate actions
Inventory systems where rpmuncompress is installed or used in scripts.
Threat Hunt
Search logs for command line executions containing 'rpmuncompress' alongside shell metacharacters.
Data: Process creation logs (Linux auditd/Sysmon for Linux)
Mitigations
Restrict execute permissions for rpmuncompress to authorized users only.
CVE-2026-84838