Skip to main content
EPSS 0.2%top 89%

A flaw was found in environment-modules. (CVE-2026-85013)

0
Medium
Published: 09/15/2026 (09/15/2026, 16:17:00 UTC)
Source: GCVE Database
Product: modules

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
modules
pkg:deb/ubuntu/modules?arch=source&distro=xenial
Affected versions
=3.2.10-9
Ubuntu:18.04:LTSmore threats →ghsa
modules
pkg:deb/ubuntu/modules?arch=source&distro=bionic
Affected versions
=3.2.10-10=4.0.0-1=4.0.0-2=4.1.0-1=4.1.1-1
Ubuntu:20.04:LTSmore threats →ghsa
modules
pkg:deb/ubuntu/modules?arch=source&distro=focal
Affected versions
=4.3.0-2=4.3.1-1=4.4.0-1=4.4.1-1
Ubuntu:22.04:LTSmore threats →ghsa
modules
pkg:deb/ubuntu/modules?arch=source&distro=jammy
Affected versions
=5.0.0~alpha-1=5.0.1-1
Ubuntu:24.04:LTSmore threats →ghsa
modules
pkg:deb/ubuntu/modules?arch=source&distro=noble
Affected versions
=5.3.1-1=5.4.0-1
Ubuntu:26.04:LTSmore threats →ghsa
modules
pkg:deb/ubuntu/modules?arch=source&distro=resolute
Affected versions
=5.5.0-1=5.6.0-1=5.6.1-1

Run 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

AILast updated: 09/24/2026, 06:42:12 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses