OS Command Injection Affecting rpm-python package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.58% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-RPMPYTHON-20166296
  • published27 Sept 2026
  • disclosed24 Sept 2026

Introduced: 24 Sep 2026

NewCVE-2026-95521  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 rpm-python.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rpm-python package and not the rpm-python package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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 Base Scores

version 3.1