CVE-2026-44604: RPM rpmuncompress command injection in doUntar

CVE-2026-44604 · Severity: high · CVSS 7 · Published 2026-05-28

A security vulnerability was found in the RPM package manager's archive extraction utility. When a user or automated system extracts a specially crafted archive file (such as ZIP or 7z), the tool can be tricked into executing hidden malicious commands. This could allow an attacker to take control of a user's system or disrupt automated software build processes.

Technologies: RPM Project RPM. Vendors: RPM Project.

Quick answers

Is CVE-2026-44604 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-44604 being exploited in the wild.
How severe is CVE-2026-44604?
High severity, with a CVSS score of 7, published 28 May 2026.
Which products and versions are affected?
RPM Project RPM 6.0.1-5.1.hum1, upstream 6.0.1.
Is there a fix for CVE-2026-44604?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-44604 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-2026-44604?
Check whether you run RPM Project RPM at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A command injection vulnerability exists in the `doUntar()` function within `tools/rpmuncompress.cc` of the RPM package manager. The utility fails to properly sanitize the top-level directory name (`sr`) retrieved from certain archive formats (ZIP, 7z, GEM) before interpolating it into a shell command string executed via `popen()`. An attacker can exploit this by crafting an archive with a single top-level directory name containing shell metacharacters (specifically single quotes). When a user executes `rpmuncompress -x -C` or uses RPM source-preparation workflows like `%setup -C`, the injected commands are executed with the privileges of the user running the extraction. The vulnerability is present in version 6.0.1 and likely other versions using the `singleRoot()` and `moveup` construction.

Affected products

  • RPM Project RPM 6.0.1-5.1.hum1, upstream 6.0.1

Timeline

  • 2026-04-23: disclosed: Initial report to Red Hat Bugzilla
  • 2026-05-28: advisory: CVE published by NVD/Red Hat

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.