Red HatCVE-2026-95521
Red Hat rpm: command injection
High7.8CVE-2026-95521 · Published Sep 24, 2026
A command injection flaw was found in rpm. Installing or rebuilding a source RPM whose source or spec file basenames contain a %() macro construct causes rpm to execute an attacker-controlled shell command via popen() while relocating the source file list. This allows arbitrary command execution as the invoking (typically non-root) user, simply by installing, rebuilding, or otherwise processing an untrusted .src.rpm.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 6 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 8 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 9 Product | all versions | No fix yet |
| Red Hat Hardened Images Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-78
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 24 | Red Hat pulpcore: path traversal | High8.1 | No fix yet |
| Sep 24 | Red Hat rpm: code execution | High7.8 | No fix yet |
| Sep 24 | Red Hat Ansible Automation Platform 2: authentication bypass by spoofing | Medium6.8 | No fix yet |
| Sep 24 | Red Hat Admin REST API of Keycloak: missing authorization | Medium4.3 | No fix yet |
| Sep 24 | Red Hat GIMP.: out-of-bounds write | High7.8 | No fix yet |
| Sep 24 | Red Hat Build of Keycloak: missing authorization | Medium4.2 | No fix yet |