CVE-2026-85013
Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.3
Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
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.
- Record
CVE-2026-85013- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2026-78780
7.3
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.
- Record
EUVD-2026-78780- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
NVD
7.3
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.
- Record
CVE-2026-85013- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-85013
7.3
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.
- Record
DEBIAN-CVE-2026-85013- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2026:64766
7.3
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:64766- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2026:80664
7.3
Red Hat Security Advisory: environment-modules security update
- Record
RHSA-2026:80664- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVRHSA-2026:82919
7.3
Red Hat Security Advisory: environment-modules security update
- Record
RHSA-2026:82919- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2026:84594
7.3
Red Hat Security Advisory: environment-modules security update
- Record
RHSA-2026:84594- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2026:80664
7.3
Moderate: environment-modules security update
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
- environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2026:80664- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2026:82919
7.3
Moderate: environment-modules security update
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
- environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2026:82919- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2026:84594
7.3
Moderate: environment-modules security update
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
- environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2026:84594- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-85013
7.3
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.
- Record
UBUNTU-CVE-2026-85013- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2026:80664 No score
Moderate: environment-modules security update
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
- environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2026:80664- Updated
- 2026-11-02
OSVALSA-2026:82919 No score
Moderate: environment-modules security update
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
- environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2026:82919- Updated
- 2026-11-02
OSVALSA-2026:84594 No score
Moderate: environment-modules security update
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
- environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2026:84594- Updated
- 2026-11-02
OSVAZL-107969 No score
CVE-2026-85013 affecting package environment-modules for versions less than 5.3.2-1
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.
- Record
AZL-107969- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
environment-modulesAlmaLinux:10 |
before 5.6.1-2.el10_2.1 | 5.6.1-2.el10_2.1 |
environment-modulesAlmaLinux:8 |
before 4.5.2-5.el8_10 | 4.5.2-5.el8_10 |
environment-modulesAlmaLinux:9 |
before 5.3.0-2.el9_8.1 | 5.3.0-2.el9_8.1 |
environment-modulesAzure Linux:3 |
before 5.3.2-1 | 5.3.2-1 |
modulesDebian:12 |
All versions, plus listed versions 5.2.0-15.3.0-15.3.0-25.3.1-15.4.0-1 Show 7 moreShow less5.5.0-15.6.0-15.6.1-15.6.1-25.6.1-35.6.2-15.7.0-1 |
None known |
modulesDebian:13 |
All versions, plus listed versions 5.5.0-15.6.0-15.6.1-15.6.1-25.6.1-35.6.2-15.7.0-1 |
None known |
modulesDebian:14 |
before 5.6.1-3, plus listed versions 5.5.0-15.6.0-15.6.1-15.6.1-2 |
5.6.1-3 |
environment-modulesRed Hat:hummingbird:1 |
before 0:5.6.2-1.hum1 | 0:5.6.2-1.hum1 |
environment-modulesRed Hat:enterprise_linux:10.2 |
before 0:5.6.1-2.el10_2.1 | 0:5.6.1-2.el10_2.1 |
environment-modules-debuginfoRed Hat:enterprise_linux:10.2 |
before 0:5.6.1-2.el10_2.1 | 0:5.6.1-2.el10_2.1 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
environment-modules-debugsourceRed Hat:enterprise_linux:10.2 |
before 0:5.6.1-2.el10_2.1 | 0:5.6.1-2.el10_2.1 |
environment-modulesRed Hat:enterprise_linux:8::baseos |
before 0:4.5.2-5.el8_10 | 0:4.5.2-5.el8_10 |
environment-modules-compat-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:4.5.2-5.el8_10 | 0:4.5.2-5.el8_10 |
environment-modules-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:4.5.2-5.el8_10 | 0:4.5.2-5.el8_10 |
environment-modules-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:4.5.2-5.el8_10 | 0:4.5.2-5.el8_10 |
environment-modulesRed Hat:enterprise_linux:9::baseos |
before 0:5.3.0-2.el9_8.1 | 0:5.3.0-2.el9_8.1 |
environment-modules-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:5.3.0-2.el9_8.1 | 0:5.3.0-2.el9_8.1 |
environment-modules-debugsourceRed Hat:enterprise_linux:9::baseos |
before 0:5.3.0-2.el9_8.1 | 0:5.3.0-2.el9_8.1 |
environment-modulesRocky Linux:10 |
before 0:5.6.1-2.el10_2.1 | 0:5.6.1-2.el10_2.1 |
environment-modulesRocky Linux:8 |
before 0:4.5.2-5.el8_10 | 0:4.5.2-5.el8_10 |
environment-modulesRocky Linux:9 |
before 0:5.3.0-2.el9_8.1 | 0:5.3.0-2.el9_8.1 |
modulesUbuntu:16.04:LTS |
All versions, plus listed versions 3.2.10-9 |
None known |
modulesUbuntu:18.04:LTS |
All versions, plus listed versions 3.2.10-104.0.0-14.0.0-24.1.0-14.1.1-1 |
None known |
modulesUbuntu:20.04:LTS |
All versions, plus listed versions 4.3.0-24.3.1-14.4.0-14.4.1-1 |
None known |
modulesUbuntu:22.04:LTS |
All versions, plus listed versions 5.0.0~alpha-15.0.1-1 |
None known |
modulesUbuntu:24.04:LTS |
All versions, plus listed versions 5.3.1-15.4.0-1 |
None known |
modulesUbuntu:26.10 |
All versions, plus listed versions 5.6.1-15.6.1-2 |
None known |
modulesUbuntu:26.04:LTS |
All versions, plus listed versions 5.5.0-15.6.0-15.6.1-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-85013 is a high vulnerability (CVSS 7.3) in Red Hat Enterprise Linux 10, published September 15, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.23%, the 13th percentile. Fixed in environment-modules 5.6.1-2.el10_2.1.
References
access.redhat.com/errata/RHSA-2026:64766
access.redhat.com/errata/RHSA-2026:80664
access.redhat.com/errata/RHSA-2026:82919
access.redhat.com/errata/RHSA-2026:84594
access.redhat.com/security/cve/CVE-2026-85013
bugzilla.redhat.com/show_bug.cgi?id=2465635
Show 18 moreShow less
github.com/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg
bugzilla.redhat.com/2465635
errata.almalinux.org/10/ALSA-2026-80664.html
errata.almalinux.org/8/ALSA-2026-82919.html
errata.almalinux.org/9/ALSA-2026-84594.html
nvd.nist.gov/vuln/detail/CVE-2026-85013
security-tracker.debian.org/tracker/CVE-2026-85013
images.redhat.com
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_64766.json
cve.org/CVERecord?id=CVE-2026-85013
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_80664.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_82919.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_84594.json
errata.rockylinux.org/RLSA-2026:80664
errata.rockylinux.org/RLSA-2026:82919
errata.rockylinux.org/RLSA-2026:84594
ubuntu.com/security/CVE-2026-85013