Command Injection Flaw in RPM Affects Red Hat Products
CVE-2026-95521
7.8HIGH
What is CVE-2026-95521?
A command injection vulnerability has been identified in RPM that allows untrusted source RPM files to execute arbitrary commands. If a source or spec file basename includes a %() macro, RPM executes an attacker-controlled shell command through popen() during the relocation of the source file list. This can occur when a user installs or rebuilds an untrusted .src.rpm file, and is particularly concerning as it can be exploited by non-root users, leading to unauthorized command execution.
References
CVSS V3.1
Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Calif.io for reporting this issue.