Skip to content
Fencer Vulns
high 7.3

CVE-2026-85013 json

Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters

published 2026-09-15 54 d ago modified 2026-11-06 3 d ago also EUVD-2026-78780

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 13%
public exploits
0
none known

Summary

A flaw was found in environment-modules. A local attacker can exploit this vulnerability by placing a maliciously named modulefile in a location visible to the victim's `MODULEPATH`. When the victim uses Bash completion for `module` or `ml` commands, the malicious module name, containing shell metacharacters, is evaluated as a command. This can lead to arbitrary command execution in the completing user's shell, impacting their confidentiality, integrity, and availability.

Patch / fix

  • Red Hat Red Hat Enterprise Linux 10 0:5.6.1-2.el10_2.1
  • Red Hat Red Hat Enterprise Linux 8 0:4.5.2-5.el8_10
  • Red Hat Red Hat Enterprise Linux 9 0:5.3.0-2.el9_8.1
  • Red Hat Red Hat Hardened Images 5.6.2-1.hum1
  • modules Debian 14 5.6.1-3

debian advisories DEBIAN-CVE-2026-85013

  • environment-modules RHEL 9 5.3.0-2.el9_8.1
  • environment-modules RHEL 8 4.5.2-5.el8_10
  • environment-modules RHEL 10.2 5.6.1-2.el10_2.1
  • environment-modules hummingbird 1 5.6.2-1.hum1

red hat advisories RHSA-2026:84594RHSA-2026:82919RHSA-2026:80664RHSA-2026:64766

  • environment-modules AlmaLinux 9 5.3.0-2.el9_8.1
  • environment-modules AlmaLinux 8 4.5.2-5.el8_10
  • environment-modules AlmaLinux 10 5.6.1-2.el10_2.1

almalinux advisories ALSA-2026:84594ALSA-2026:82919ALSA-2026:80664

  • environment-modules Rocky Linux 9 5.3.0-2.el9_8.1
  • environment-modules Rocky Linux 8 4.5.2-5.el8_10
  • environment-modules Rocky Linux 10 5.6.1-2.el10_2.1

rocky linux advisories RLSA-2026:84594RLSA-2026:82919RLSA-2026:80664

  • environment-modules Azure Linux 3.0 5.3.2-1

azure linux advisories AZL-107969

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-85013 updated cvss 7.3

environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters

  • Red Hat Enterprise Linux 6 environment-modules
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 environment-modules
    affected: workaround, no fix available
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9
    under investigation
  • Red Hat Enterprise Linux BaseOS (v. 8) environment-modules 4.5.2-5.el8_10
    fixed: vendor fix RHSA-2026:82919
  • Red Hat Enterprise Linux BaseOS (v. 9) environment-modules 5.3.0-2.el9_8.1
    fixed: vendor fix RHSA-2026:84594
  • Red Hat Enterprise Linux BaseOS (v. 10) environment-modules 5.6.1-2.el10_2.1
    fixed: vendor fix RHSA-2026:80664
  • Red Hat Hardened Images environment-modules 5.6.2-1.hum1
    fixed: vendor fix RHSA-2026:64766

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
54 d ago

Exploit prediction

0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Hardened Images
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat OpenShift AI (RHOAI)

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.