CVE-2026-85013: Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
- Is it exploited?
Not on CISA's list. CISA has not added it to the Known Exploited Vulnerabilities catalog as of . If CISA adds it, this page shows it as known exploited.
- How likely is exploitation in the next 30 days?
- 0.2%
EPSS score, percentile 13.9 of all scored records. A probability estimated by FIRST, not a report of exploitation.
CISA's SSVC assessment in the CVE record lists exploitation as poc.
- How severe?
- 7.3 High
CVSS v3.1 base score, given by the CNA
- What should I do?
CISA has set no required action, because the vulnerability is not in KEV.
- Which versions are affected?
Unaffected 0:5.6.1-2.el10_2.1; 0:4.5.2-5.el8_10; 0:5.3.0-2.el9_8.1; 5.6.2-1.hum1
Source: CISA KEV 2026.10.29, as of ; FIRST EPSS, as of ; CVE List, as of . About the data.
What to do
Workaround (from the CVE record)
To mitigate this issue, avoid enabling Bash completion for `module` and `ml` in environments where untrusted users can influence `MODULEPATH`. Additionally, ensure that shared module search paths do not include attacker-writable directories. As a practical measure, the affected completion script can be removed or disabled by commenting out its sourcing in shell configuration files (e.g., `~/.bashrc` or `/etc/profile.d/`). Users must start a new shell session for changes to take effect.
Advisories and patches
This summary is based on the CVE record as of . Check the vendor's advisory before you act: affected versions and fixes can change.
Affected products and versions
As listed in the CVE record.
| Status | Versions |
|---|---|
| Unaffected | 0:5.6.1-2.el10_2.1 |
Versions not listed are: affected.
| Status | Versions |
|---|---|
| Unaffected | 0:4.5.2-5.el8_10 |
Versions not listed are: affected.
| Status | Versions |
|---|---|
| Unaffected | 0:5.3.0-2.el9_8.1 |
Versions not listed are: affected.
| Status | Versions |
|---|---|
| Unaffected | 5.6.2-1.hum1 |
Versions not listed are: affected.
| Status | Versions |
|---|
Versions not listed are: unknown.
| Status | Versions |
|---|
Versions not listed are: affected.
Versions the record lists as unaffected: 0:5.6.1-2.el10_2.1, 0:4.5.2-5.el8_10, 0:5.3.0-2.el9_8.1, 5.6.2-1.hum1.
Source: CVE List, as of . About the data.
About this vulnerability
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 completin…
Summary: CVE record, as of .
- CISA has not added CVE-2026-85013 to its Known Exploited Vulnerabilities (KEV) catalog, as of 29 Oct 2026.
- The CVE record was published on 15 Sep 2026.
- The CVE record carries a CVSS v3.1 base score of 7.3 (High), given by its CNA.
- FIRST's EPSS model puts the probability of exploitation in the next 30 days at 0.2% (percentile 13.9), as of 29 Oct 2026. EPSS is a statistical estimate, not a report of exploitation.
- CISA's SSVC assessment in the CVE record: exploitation poc, automatable no, technical impact total.
- The credits in the CVE record name AISLE as finder.
Source: CISA KEV 2026.10.29, as of ; CVE List, as of ; FIRST EPSS, as of . About the data.
Description
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.
Source: CVE List, as of . About the data.
Weakness
CWE-78
CWE and CAPEC are maintained by MITRE; the entries are those named in the CVE record.
Timeline
| Date | Event |
|---|---|
| CVE record published | |
| CVE record last updated |
References
3
Known exploited Red Hat vulnerabilities
- CVE-2015-3246: Red Hat Libuser Race Condition Vulnerability
- CVE-2015-5287: Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability
- CVE-2018-14667: Red Hat JBoss RichFaces Framework Expression Language Injection Vulnerability
- CVE-2021-3560: Red Hat Polkit Incorrect Authorization Vulnerability
- CVE-2021-4034: Red Hat Polkit Out-of-Bounds Read and Write Vulnerability