cve.bz

CVE-2026-84233 Rpm: command execution via macro expansion in `rpmuncompress -x` for crafted `.gem` filenames

7.0 highEPSS 0.2%Fix available

High (7.0) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:4.19.1.1-29.el10_3
  • Red Hat Red Hat Hardened Images: fixed in 6.1.0-1.hum1
  • Red Hat, AlmaLinux, Rocky Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-84233 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84233?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84233?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84233 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • red hat:red hat enterprise linux 10
  • red hat:red hat enterprise linux 6
  • red hat:red hat enterprise linux 7
  • red hat:red hat enterprise linux 8
  • red hat:red hat enterprise linux 9
  • red hat:red hat hardened images

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:4.19.1.1-29.el10_3
Red Hat Hardened Images6.1.0-1.hum1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rpmno fix listedDEBIAN-CVE-2026-84233
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 morerpmno fix listedUBUNTU-CVE-2026-84233
Red Hatenterprise_linux:10.3rpm, rpm-cron, rpm-libs and 31 more0:4.19.1.1-29.el10_3RHSA-2026:99595
Red Hathummingbird:1rpm, rpm-cron, rpm-libs and 17 more0:6.1.0-1.hum1RHSA-2026:66637
AlmaLinux10rpm, rpm-cron, rpm-libs and 14 more4.19.1.1-29.el10_3.alma.1ALSA-2026:99595
Rocky Linux10rpm, rpm-cron, rpm-libs and 30 more0:4.19.1.1-29.el10_3RLSA-2026:99595
Azure Linux3rpmno fix listedAZL-99369
Alpaquita23rpm4.18.0-r3BELL-CVE-2026-84233
Alpaquita25rpm4.19.1.1-r5BELL-CVE-2026-84233
Alpaquitastreamrpm4.19.1.1-r7BELL-CVE-2026-84233

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is considered Moderate severity because, although successful exploitation allows arbitrary command execution with the privileges of the user or workflow invoking rpmuncompress -x (or a build workflow that invokes it via %{__rpmuncompress}), exploitation requires a specially crafted local .gem filename containing RPM macro syntax to be processed by that tool. The vulnerable code is not exposed as a network service and cannot be triggered remotely without a user or automated workflow invoking rpmuncompress on the attacker-controlled filename.

Red Hat's mitigation

To mitigate this vulnerability, avoid using `rpmuncompress -x` (or a build workflow that invokes it via %{__rpmuncompress}) on `.gem` files from untrusted sources. Before extraction, rename `.gem` files to remove any RPM macro syntax (e.g., `%(...)`) or utilize an alternative extraction tool that does not expand RPM macros in filenames. In automated environments, implement validation to reject or sanitize untrusted archive names prior to processing

ProductPackageStateAdvisory
Red Hat Hardened Imagesrpm-main-6.1.0-1.hum1Fixed 2026-09-11RHSA-2026:66637
Red Hat Enterprise Linux 10rpmAffected
Red Hat Enterprise Linux 6rpmNot affected
Red Hat Enterprise Linux 7rpmNot affected
Red Hat Enterprise Linux 8rpmNot affected
Red Hat Enterprise Linux 9rpmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84233.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON