CVE-2026-95521

Public on 2026-09-24
Modified on 2026-09-25
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.
Severity
Important severity
Important
See what this means
CVSS v3 Base Score
7.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Mock2 Extra compat-rpm-411 Pending Fix
Amazon Linux 2 - Core rpm Pending Fix
Amazon Linux 2 - Mock2 Extra rpm Pending Fix
Amazon Linux 2023 rpm Pending Fix
Amazon Linux 2027 Preview rpm Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H