CVE-2026-95519
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Workarounds
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.
References
- https://access.redhat.com/security/cve/CVE-2026-95519
- https://bugzilla.redhat.com/show_bug.cgi?id=2470977
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.