Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2026-95521
- https://bugzilla.redhat.com/show_bug.cgi?id=2537812
FAQ
What is CVE-2026-95521?
CVE-2026-95521 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 co...
How severe is CVE-2026-95521?
CVE-2026-95521 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-95521?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.