CVE-2026-85013
Received
Received - Intake
Command Injection via Bash Completion in Environment Modules
Vulnerability report for CVE-2026-85013, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-09-15
Last updated on: 2026-09-15
Assigner: redhat-SADP
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| environment-modules | environment-modules | 5.6.1 |
| environment-modules | environment-modules | From 3.2.7 (inc) to 4.5.4 (exc) |
| environment-modules | environment-modules | From 4.5.4 (inc) to 5.3.2 (exc) |
| environment-modules | environment-modules | From 5.3.2 (inc) to 5.6.1 (inc) |
| environment-modules | environment-modules | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |