cvelo
P2 · HighCVSS 7.3

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

  • CVE-2026-85013
  • EUVD-2026-78780

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.

Text from the CVE.org record.

Affected

  • Red Hat Red Hat Discovery 2

    • from 1795539844 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 10

    • from 0:5.6.1-3.el10_3 onwards: not affected
    • from 0:5.6.1-2.el10_2.1 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 6

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 7

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 8

    • from 0:4.5.2-5.el8_10 onwards: not affected
  • Red Hat Red Hat Enterprise Linux 9

    • from 0:5.3.0-2.el9_8.1 onwards: not affected
    • from 0:5.3.0-3.el9_9 onwards: not affected
  • Red Hat Red Hat Hardened Images

    • from 5.6.2-1.hum1 onwards: not affected
  • Red Hat Red Hat OpenShift AI (RHOAI)

    • No versions listed

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.