cve.bz

CVE-2026-84837 Rpm: command injection in `rpmbuild -t*` (`gettarspec`) via unescaped tarball path

7.8 highEPSS 0.7%Fix available

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

On this page
A flaw was found in rpm. An attacker can exploit a command injection vulnerability by influencing the path or filename of a tarball processed by `rpmbuild -t*` to include shell metacharacters. This is particularly relevant in automated build or continuous integration (CI) workflows that ingest externally supplied artifact names. Successful exploitation allows for arbitrary command execution with the privileges of the build user, which could lead to information disclosure or disruption of the build environment.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th 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-02. 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 Enterprise Linux 9: fixed in 0:4.16.1.3-43.el9_9
  • Red Hat Red Hat Hardened Images: fixed in 6.1.0-1.3.hum1
  • Red Hat, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-84837 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84837?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84837?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-84837 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
  • red hat:red hat openshift ai (rhoai)

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 Enterprise Linux 90:4.16.1.3-43.el9_9
Red Hat Hardened Images6.1.0-1.3.hum1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rpmno fix listedDEBIAN-CVE-2026-84837
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTS and 5 morerpmno fix listedUBUNTU-CVE-2026-84837
Red Hatenterprise_linux:9::appstreamrpm-cron, rpm-build, rpm-devel and 21 more0:4.16.1.3-43.el9_9RHSA-2026:99593
Red Hatenterprise_linux:9::baseosrpm, rpm-libs, rpm-sign and 21 more0:4.16.1.3-43.el9_9RHSA-2026:99593
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.3.hum1RHSA-2026:82378
AlmaLinux9rpm, rpm-cron, rpm-libs and 13 more4.16.1.3-43.el9_9ALSA-2026:99593
AlmaLinux10rpm, rpm-cron, rpm-libs and 14 more4.19.1.1-29.el10_3.alma.1ALSA-2026:99595
Rocky Linux9rpm, rpm-cron, rpm-libs and 28 more0:4.16.1.3-43.el9_9RLSA-2026:99593
Rocky Linux10rpm, rpm-cron, rpm-libs and 30 more0:4.19.1.1-29.el10_3RLSA-2026:99595

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is considered Moderate severity because, although successful exploitation can result in arbitrary command execution with the privileges of the user running rpmbuild, exploitation requires an attacker to influence the path or filename of a tarball that is subsequently processed by rpmbuild in tarball mode (-ta/-tb/-ts). The vulnerable code is not exposed as a network service and cannot be triggered remotely without a local build or CI workflow processing an attacker-controlled tarball name.

Red Hat's mitigation

To mitigate this issue, avoid using `rpmbuild -t*` with tarballs whose paths or filenames can be influenced by untrusted input. In automated build pipelines, ensure tarballs are staged into a trusted local directory and their names are normalized or validated to reject shell metacharacters before `rpmbuild` is invoked.

ProductPackageStateAdvisory
Red Hat Hardened Imagesrpm-main-6.1.0-1.3.hum1Fixed 2026-10-13RHSA-2026:82378
Red Hat Enterprise Linux 10rpmAffected
Red Hat Enterprise Linux 6rpmOut of support scope
Red Hat Enterprise Linux 7rpmAffected
Red Hat Enterprise Linux 8rpmAffected
Red Hat Enterprise Linux 9rpmAffected
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-data-science-pipelines-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-llmisvc-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-module-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kuberay-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kube-rbac-proxy-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-maas-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-operator-rhel9Not affected
18 more in the JSON and on Red Hat's page.

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-84837.

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