# CVE-2026-95521: Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-09-24T13:26:56.782Z
- Modified: 2026-11-24T23:17:33.850Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- rpm: no versions given
- rhoai/odh-ai-gateway-operator-rhel9: no versions given
- rhoai/odh-dashboard-operator-rhel9: no versions given
- rhoai/odh-data-science-pipelines-operator-controller-rhel9: no versions given
- rhoai/odh-kserve-controller-rhel9: no versions given
- rhoai/odh-kserve-llmisvc-controller-rhel9: no versions given
- rhoai/odh-kserve-module-operator-rhel9: no versions given
- rhoai/odh-kuberay-operator-controller-rhel9: no versions given
- rhoai/odh-kube-rbac-proxy-rhel9: no versions given
- rhoai/odh-llama-stack-k8s-operator-rhel9: no versions given
- rhoai/odh-maas-controller-rhel9: no versions given
- rhoai/odh-mlflow-operator-rhel9: no versions given
- rhoai/odh-mlflow-rhel9: no versions given
- rhoai/odh-model-controller-rhel9: no versions given
- rhoai/odh-model-registry-operator-rhel9: no versions given
- rhoai/odh-model-serving-api-rhel9: no versions given
- rhoai/odh-ogx-k8s-operator-rhel9: no versions given
- rhoai/odh-ogx-module-operator-rhel9: no versions given
- rhoai/odh-training-operator-rhel9: no versions given
- rhoai/odh-trustyai-service-operator-rhel9: no versions given
- rhoai/odh-workbenches-operator-rhel9: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-95521> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2537812> (issue-tracking)

## Sources

- CVE List: [CVE-2026-95521](https://www.cve.org/CVERecord?id=CVE-2026-95521), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-95521](https://nvd.nist.gov/vuln/detail/CVE-2026-95521), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-95521 · Whole record: https://cve.day/CVE-2026-95521.json · Rebuilt by cve.day 2026-11-25T22:59:40.757Z
