CVE-2026-85013
Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
No known exploitation. EPSS puts it in the 12th percentile. Fixed versions are out.
What to do
Find your product and version, then upgrade to the build on the right.
- Red Hat Enterprise Linux 10Fixed builds0:5.6.1-2.el10_2.1, 0:4.5.2-5.el8_10, 0:5.3.0-2.el9_8.1Stated by: CVE record
- Red Hat Hardened ImagesFixed builds5.6.2-1.hum1Stated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether Red Hat Enterprise Linux or Red Hat Hardened Images systems use Environment Modules and allow untrusted users to add files to locations searched for modules.
- Until a fix is available, remove or restrict write access to module locations and review module names for shell characters such as
;,&,|,$, backticks, or parentheses. - No fixed version has been published; obtain the vendor update and install it when available.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordEnvironment Modules can let a malicious module name run commands in an employee’s account; small businesses using it should check their systems and restrict who can add modules.
CVE-2026-85013 is a CWE-78 command-injection flaw in Environment Modules Bash completion: shell metacharacters in a module name can be evaluated when completing `module` or `ml` commands.
If you're affected
- Employee account takeover
- Data theft or alteration
- Service disruption
- Malware installation
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.2% chance of exploitation activity in the next 30 days, which ranks it in the 12th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
17 events over 34 days, from the signal feeds we watch.
- Workaround availablerecord updated
- Workaround availablerecord updated
- Workaround availablerecord updated
- Workaround availablerecord updated
- OpenVAS check added
- Workaround availablerecord updated
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Scored 7.3 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- access.redhat.com/errata/RHSA-2026:64766
- access.redhat.com/errata/RHSA-2026:80664
- access.redhat.com/errata/RHSA-2026:82919
And 4 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Red Hat, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI