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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 7.8 · red hatNVD modified 2026-11-01 04:04
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 2
- https://access.redhat.com/security/cve/CVE-2026-95521 vdb-entry, x_refsource_redhat
- https://bugzilla.redhat.com/show_bug.cgi?id=2537812 issue-tracking, x_refsource_redhat