CVE-2026-95519
Rpm: code execution via macro expansion of manifest entries in `rpmgi` (`-q -p` / verify manifest flows)
- High 7.8
Description
A flaw was found in rpm. An attacker can supply a crafted manifest file that, when processed by a user or automation using `rpm -q -p` or similar manifest-processing flows, leads to arbitrary code execution. This occurs because manifest entries are unexpectedly macro-expanded before being opened, allowing embedded shell commands to run with the privileges of the `rpm` process. Successful exploitation can lead to a full compromise of confidentiality, integrity, and availability for the affected account.
Key facts
- Published
- 24 Sep 2026
- Last changed
- 6 Nov 2026
- Assigned by
- redhat
- EPSS
- 0.188% likely to be exploited in the next 30 days, higher than 8.507% of CVEs (scores for 17 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 7.8CVSS 3.1, Highfrom the CNA (redhat)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What to do
- To mitigate this issue, avoid querying untrusted files with `rpm`. When handling untrusted inputs, use the `--nomanifest` option to prevent macro expansion. For automation requiring manifest support, pre-validate entries to ensure only literal paths or globs are accepted and macro syntax is rejected.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 |
|
| Red Hat | Red Hat Enterprise Linux 6 |
|
| Red Hat | Red Hat Enterprise Linux 7 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 9 |
|
| Red Hat | Red Hat Hardened Images |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
Timeline
- 11 May 2026 Reported to Red Hat.
- 24 Sep 2026 Made public.
- 24 Sep 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).