Every CVE Search/ Get API key

CVE-2026-85013

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

7.3 HighFix available

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

0.23%Unchanged since Sep 16, 2026
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
environment-modules
AlmaLinux:10
before 5.6.1-2.el10_2.1
5.6.1-2.el10_2.1
environment-modules
AlmaLinux:8
before 4.5.2-5.el8_10
4.5.2-5.el8_10
environment-modules
AlmaLinux:9
before 5.3.0-2.el9_8.1
5.3.0-2.el9_8.1
environment-modules
Azure Linux:3
before 5.3.2-1
5.3.2-1
modules
Debian: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 less
5.5.0-15.6.0-15.6.1-15.6.1-25.6.1-35.6.2-15.7.0-1
None known
modules
Debian: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
modules
Debian: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-modules
Red Hat:hummingbird:1
before 0:5.6.2-1.hum1
0:5.6.2-1.hum1
environment-modules
Red Hat:enterprise_linux:10.2
before 0:5.6.1-2.el10_2.1
0:5.6.1-2.el10_2.1
environment-modules-debuginfo
Red 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
Affected packages
PackageAffectedFixed
environment-modules-debugsource
Red Hat:enterprise_linux:10.2
before 0:5.6.1-2.el10_2.1
0:5.6.1-2.el10_2.1
environment-modules
Red Hat:enterprise_linux:8::baseos
before 0:4.5.2-5.el8_10
0:4.5.2-5.el8_10
environment-modules-compat-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:4.5.2-5.el8_10
0:4.5.2-5.el8_10
environment-modules-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:4.5.2-5.el8_10
0:4.5.2-5.el8_10
environment-modules-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:4.5.2-5.el8_10
0:4.5.2-5.el8_10
environment-modules
Red Hat:enterprise_linux:9::baseos
before 0:5.3.0-2.el9_8.1
0:5.3.0-2.el9_8.1
environment-modules-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:5.3.0-2.el9_8.1
0:5.3.0-2.el9_8.1
environment-modules-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:5.3.0-2.el9_8.1
0:5.3.0-2.el9_8.1
environment-modules
Rocky Linux:10
before 0:5.6.1-2.el10_2.1
0:5.6.1-2.el10_2.1
environment-modules
Rocky Linux:8
before 0:4.5.2-5.el8_10
0:4.5.2-5.el8_10
environment-modules
Rocky Linux:9
before 0:5.3.0-2.el9_8.1
0:5.3.0-2.el9_8.1
modules
Ubuntu:16.04:LTS
All versions, plus listed versions
3.2.10-9
None known
modules
Ubuntu: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
modules
Ubuntu:20.04:LTS
All versions, plus listed versions
4.3.0-24.3.1-14.4.0-14.4.1-1
None known
modules
Ubuntu:22.04:LTS
All versions, plus listed versions
5.0.0~alpha-15.0.1-1
None known
modules
Ubuntu:24.04:LTS
All versions, plus listed versions
5.3.1-15.4.0-1
None known
modules
Ubuntu:26.10
All versions, plus listed versions
5.6.1-15.6.1-2
None known
modules
Ubuntu:26.04:LTS
All versions, plus listed versions
5.5.0-15.6.0-15.6.1-1
None known

History

History
RecordedChangedSources
first indexedCVE 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

Show 18 moreShow less
MoveEnter Open