CVE-2026-84233
Received Received - Intake

Command Injection in RPM via Malicious Gem File

Vulnerability report for CVE-2026-84233, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-01

Last updated on: 2026-09-01

Assigner: redhat-SADP

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-01
Last Modified
2026-09-01
Generated
2026-09-01
AI Q&A
2026-09-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
redhat rpm 4.19.1.1-23.el10
redhat rpm *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the RPM package manager allows command execution via macro expansion in the rpmuncompress -x command when processing crafted .gem filenames. Attackers can supply filenames containing RPM macro syntax like %(...), which triggers shell macro execution during command construction. This enables arbitrary command execution with the privileges of the invoking user or build account.

Detection Guidance

Check for suspicious `.gem` files with macro syntax like `%(...)` in filenames. Use commands such as `find / -name '*.gem' -type f 2>/dev/null | grep -E '%\(|\$\{'` to locate potential malicious files. Monitor `/tmp` for unexpected files created during `rpmuncompress -x` execution.

Impact Analysis

This vulnerability allows attackers to execute arbitrary commands on your system with the same privileges as the user running rpmuncompress -x. This could lead to data theft, system damage, or unauthorized access. Exploitation requires only that you or an automated process processes a malicious .gem file.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating confidentiality requirements in GDPR and HIPAA. It may result in non-compliance due to potential exposure of sensitive data, requiring organizations to implement mitigations and monitor affected systems.

Mitigation Strategies

Avoid using `rpmuncompress -x` on untrusted `.gem` files. Rename suspicious files to remove macro syntax like `%(...)` or `${}`. Use alternative extractors that do not expand macros in filenames. Monitor for updates from Red Hat and apply patches once available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84233. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart