Skip to main content

A command injection flaw was found in rpm. (CVE-2026-95521)

0
Medium
Published: 09/24/2026 (09/24/2026, 14:18:00 UTC)
Source: GCVE Database
Product: rpm

Description

A command injection vulnerability exists in rpm when installing or rebuilding source RPMs with source or spec file basenames containing a %() macro construct. This flaw allows execution of arbitrary shell commands via popen() as the invoking user, typically non-root, by processing a crafted .src.rpm file.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=trusty/esm
Affected versions
=4.11.1-2=4.11.1-3=4.11.1-3ubuntu0.1=4.11.1-3ubuntu0.1+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=esm-apps/xenial
Affected versions
=4.12.0.1+dfsg1-3build2=4.12.0.1+dfsg1-3build3=4.12.0.1+dfsg1-3ubuntu0.1~esm1
Ubuntu:Pro:18.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=esm-apps/bionic
Affected versions
=4.12.0.2+dfsg1-2build2=4.14.0+dfsg1-2=4.14.1+dfsg1-2=4.14.1+dfsg1-2ubuntu0.1~esm1
Ubuntu:Pro:20.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=esm-apps/focal
Affected versions
=4.14.2.1+dfsg1-1=4.14.2.1+dfsg1-1build1=4.14.2.1+dfsg1-1build2=4.14.2.1+dfsg1-1ubuntu0.1~esm1
Ubuntu:22.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=jammy
Affected versions
=4.16.1.2+dfsg1-3ubuntu1=4.16.1.2+dfsg1-3ubuntu3=4.17.0+dfsg1-1=4.17.0+dfsg1-3=4.17.0+dfsg1-4=4.17.0+dfsg1-4build1
Ubuntu:24.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=noble
Affected versions
=4.18.0+dfsg-1build1=4.18.0+dfsg-1build2=4.18.2+dfsg-1=4.18.2+dfsg-2=4.18.2+dfsg-2.1build1=4.18.2+dfsg-2.1build2
Ubuntu:26.10more threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=stonking
Affected versions
=6.0.1-1build1=6.1.0-1
Ubuntu:26.04:LTSmore threats →ghsa
rpm
pkg:deb/ubuntu/rpm?arch=source&distro=resolute
Affected versions
=4.20.1+dfsg-3=6.0.0-2=6.0.1-1=6.0.1-1build1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:00:35 UTC

Technical Analysis

CVE-2026-95521 describes a command injection flaw in the rpm package manager. The vulnerability occurs during the installation or rebuilding of source RPMs whose source or spec file basenames include a %() macro construct. This causes rpm to execute attacker-controlled shell commands through popen() while relocating the source file list. The flaw enables arbitrary command execution with the privileges of the invoking user, usually non-root, simply by processing a malicious .src.rpm file.

Potential Impact

An attacker can execute arbitrary commands as the user running rpm, which is typically a non-root user. This can lead to compromise of the user's environment or further escalation depending on context. The vulnerability impacts confidentiality, integrity, and availability as indicated by the CVSS vector (C:H/I:H/A:H).

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, avoid installing or rebuilding untrusted source RPMs containing %() macro constructs in their filenames.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-95521
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f5162cdf04f656657c57

Added to database: 10/17/2026, 22:22:14 UTC

Last enriched: 10/17/2026, 23:00:35 UTC

Last updated: 10/17/2026, 23:00:35 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses