Rpm: rpm: shell command injection via macro expansion of source/spec file basenames when installing a source rpm
cve-program · CVE-2026-95521 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 6 Nov 2026 03:36:20 UTC. Read the latest advisory.
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.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-95521 · Published
cve-program · CVE-2026-95521 · Published
cve-program · CVE-2026-95521 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.