A command injection flaw was found in rpm. (CVE-2026-95521)
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
Affected software
pkg:deb/ubuntu/rpm?arch=source&distro=trusty/esmpkg:deb/ubuntu/rpm?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/rpm?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/rpm?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/rpm?arch=source&distro=jammypkg:deb/ubuntu/rpm?arch=source&distro=noblepkg:deb/ubuntu/rpm?arch=source&distro=stonkingpkg:deb/ubuntu/rpm?arch=source&distro=resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.