CVE-2026-95521
High 7.8No known exploitationFix availableRpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 55% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-78
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- To mitigate this issue, Red Hat recommends avoiding the installing or rebuilding of source RPMs from untrusted or unverified sources.
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 rpm 4.18.2-2 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Red Hat | Red Hat Enterprise Linux 10 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Hardened Images | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI (RHOAI) (status unknown) | Not documented | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-95521 (opens in a new tab)vdb-entry, x_refsource_redhat
- RHBZ#2537812 (opens in a new tab)issue-tracking, x_refsource_redhat