RHSA-2026:84594MediumCVSS 7.3

Red Hat Security Advisory: environment-modules security update

Published
October 19, 2026
Last Modified
November 6, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2026-85013 — environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters

🎯 Affected products14

  • Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-0:5.3.0-2.el9_8.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-0:5.3.0-2.el9_8.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-0:5.3.0-2.el9_8.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-0:5.3.0-2.el9_8.1.src as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-0:5.3.0-2.el9_8.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debuginfo-0:5.3.0-2.el9_8.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debuginfo-0:5.3.0-2.el9_8.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debuginfo-0:5.3.0-2.el9_8.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debuginfo-0:5.3.0-2.el9_8.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debugsource-0:5.3.0-2.el9_8.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debugsource-0:5.3.0-2.el9_8.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debugsource-0:5.3.0-2.el9_8.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 9)
  • environment-modules-debugsource-0:5.3.0-2.el9_8.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 9)

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: To mitigate this issue, avoid enabling Bash completion for `module` and `ml` in environments where untrusted users can influence `MODULEPATH`. Additionally, ensure that shared module search paths do not include attacker-writable directories. As a practical measure, the affected completion script can be removed or disabled by commenting out its sourcing in shell configuration files (e.g., `~/.bashrc` or `/etc/profile.d/`). Users must start a new shell session for changes to take effect.

🔗 References (4)