CVE-2026-84838

Rpm: command injection in rpmuncompress via unescaped filenames passed to popen()

Published Sep 2, 2026 CVSS 3.1 · 7.8 High EPSS 1.1% KEV · Not listed
Description
A flaw was found in rpmuncompress. This command injection vulnerability allows a local attacker to execute arbitrary commands. This occurs when rpmuncompress processes a specially crafted archive filename containing shell metacharacters, which are not properly escaped before being passed to shell command strings. Successful exploitation requires user interaction, where a user or automated workflow invokes rpmuncompress on the malicious file, leading to high impact on the confidentiality, integrity, and availability of data accessible to the invoking user.

Analysis

AI-generated

Technical impact

The vulnerability in rpmuncompress allows a local attacker to execute arbitrary system commands when a specially crafted archive filename contains shell metacharacters that are not escaped before being passed to popen(). The injection occurs during decompression and can lead to full compromise of the invoking user's privileges, affecting confidentiality, integrity, and availability of data and processes on the host.

Affected Systems

Affected systems include Red Hat Enterprise Linux 6 through 10 and Red Hat Hardened Images that ship the vulnerable rpmuncompress utility. Any product that packages rpmuncompress without addressing the filename escaping flaw is at risk. The advisory lists each major release, from 6 to 10, as impacted.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, while the EPSS value is 1%, suggesting a low but nonzero exploitation probability. The flaw is not catalogued in the CISA KEV list. Successful exploitation requires local user privileges or an automated build process that invokes rpmuncompress on the malicious archive, so the attack vector is local with user interaction. Because the vulnerability grants local code execution, it poses a significant threat to any user or process that triggers rpmuncompress with untrusted filenames.

Remediation

Vendor Workaround

To mitigate this issue, avoid processing untrusted archive filenames with `rpmuncompress` or any workflows that invoke `%{__rpmuncompress}`. Before any build or extraction steps, rename source and patch archives to remove any shell metacharacters from their filenames.


OpenCVE Recommended Actions

  • Apply the vendor‑issued patch or update that resolves the unescaped‑filename handling, as detailed in the Red Hat advisory.
  • Rename any archive or patch files that contain shell metacharacters before they are passed to rpmuncompress, following the vendor's advised workaround.
  • Limit the use of rpmuncompress in untrusted workflows; replace or remove calls to rpmuncompress when handling untrusted sources.

Generated by OpenCVE AI on September 3, 2026 at 14:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
CPEs cpe:/o:redhat:enterprise_linux_eus:10.2
Vendors & Products Redhat enterprise Linux Eus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.3
References
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Redhat hardened Images
Vendors & Products Redhat hardened Images
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in rpmuncompress. This command injection vulnerability allows a local attacker to execute arbitrary commands. This occurs when rpmuncompress processes a specially crafted archive filename containing shell metacharacters, which are not properly escaped before being passed to shell command strings. Successful exploitation requires user interaction, where a user or automated workflow invokes rpmuncompress on the malicious file, leading to high impact on the confidentiality, integrity, and availability of data accessible to the invoking user.
Title Rpm: command injection in rpmuncompress via unescaped filenames passed to popen()
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-78
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 10:09 PM
Reserved
Sep 2, 2026, 11:56 AM
Status
Awaiting Analysis
Published
Sep 2, 2026, 4:17 PM
Modified
Nov 24, 2026, 10:18 PM
Severity
Moderate
Public date
Sep 2, 2026, 1:35 PM