A flaw was found in environment-modules. (CVE-2026-85013)
A vulnerability in environment-modules allows a local attacker to execute arbitrary commands 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 is evaluated as a command, potentially compromising confidentiality, integrity, and availability.
AI Analysis
Technical Summary
CVE-2026-85013 is a local privilege vulnerability in environment-modules where an attacker can place a maliciously named modulefile in a MODULEPATH directory. When the victim triggers Bash completion for the module or ml commands, the shell evaluates the malicious module name containing shell metacharacters as a command. This leads to arbitrary command execution within the victim's shell context.
Potential Impact
Successful exploitation allows arbitrary command execution in the victim's shell, impacting confidentiality, integrity, and availability of the affected system. The attacker requires local access and the ability to place files in a MODULEPATH directory visible to the victim.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using Bash completion for module or ml commands in untrusted environments or restrict write access to MODULEPATH directories to trusted users only.
A flaw was found in environment-modules. (CVE-2026-85013)
Description
A vulnerability in environment-modules allows a local attacker to execute arbitrary commands 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 is evaluated as a command, potentially compromising confidentiality, integrity, and availability.
CVSS v3.1
Score 7.3high
Affected software
pkg:deb/ubuntu/modules?arch=source&distro=xenialpkg:deb/ubuntu/modules?arch=source&distro=bionicpkg:deb/ubuntu/modules?arch=source&distro=focalpkg:deb/ubuntu/modules?arch=source&distro=jammypkg:deb/ubuntu/modules?arch=source&distro=noblepkg:deb/ubuntu/modules?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-85013 is a local privilege vulnerability in environment-modules where an attacker can place a maliciously named modulefile in a MODULEPATH directory. When the victim triggers Bash completion for the module or ml commands, the shell evaluates the malicious module name containing shell metacharacters as a command. This leads to arbitrary command execution within the victim's shell context.
Potential Impact
Successful exploitation allows arbitrary command execution in the victim's shell, impacting confidentiality, integrity, and availability of the affected system. The attacker requires local access and the ability to place files in a MODULEPATH directory visible to the victim.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using Bash completion for module or ml commands in untrusted environments or restrict write access to MODULEPATH directories to trusted users only.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-85013
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab4be48f7a7c54106f047fa
Added to database: 09/24/2026, 06:08:08 UTC
Last enriched: 09/24/2026, 06:42:12 UTC
Last updated: 09/25/2026, 01:47:45 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.