CVE-2026-85013 json
Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
published 2mo ago modified 9h ago also EUVD-2026-78780 , GHSA-8hrw-p88g-qhmg
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository envmodules/modules. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- 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, 0:5.6.1-3.el10_3
- 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, 0:5.3.0-3.el9_9
- 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
Is CVE-2026-85013 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-modulesaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 environment-modulesaffected: workaround, no fix available
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat Enterprise Linux BaseOS (v. 8) environment-modules 4.5.2-5.el8_10fixed: vendor fix RHSA-2026:82919
-
Red Hat Enterprise Linux BaseOS (v. 9) environment-modules 5.3.0-3.el9_9, environment-modules 5.3.0-2.el9_8.1fixed: vendor fix RHSA-2026:84594
-
Red Hat Enterprise Linux BaseOS (v. 10) environment-modules 5.6.1-3.el10_3, environment-modules 5.6.1-2.el10_2.1fixed: vendor fix RHSA-2026:80664
-
Red Hat Hardened Images environment-modules 5.6.2-1.hum1fixed: 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
- last mo.
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-11).
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
-
github.com
/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg
exploit, advisory
-
access.redhat.com
/errata/RHSA-2026:64766
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:80664
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82919
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:84594
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:98460
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:98565
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-85013
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2465635
issue-tracking
Sources
- CVE List CVE-2026-85013
- NVD CVE-2026-85013
- Maintainer advisory GHSA-8hrw-p88g-qhmg
Fencer Intel 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.
The maintainers of envmodules/modules published their own advisory on GitHub. Reviewed sources take precedence over it.