Skip to main content
← All vulnerabilities
CVE-2026-85013

Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • environment-modules

    Version range not reported

  • environment-modules

    Version range not reported

  • environment-modules

    Version range not reported

  • environment-modules-main

    Version range not reported

  • environment-modules

    Version range not reported

  • environment-modules

    Version range not reported

References 7

access.redhat.com

bugzilla.redhat.com

GitHub · envmodules/modules