Red Hat Security Advisory: environment-modules security update
🔗 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. 10)
- environment-modules-0:5.6.1-2.el10_2.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-0:5.6.1-2.el10_2.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-0:5.6.1-2.el10_2.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-0:5.6.1-2.el10_2.1.src as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-0:5.6.1-2.el10_2.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debuginfo-0:5.6.1-2.el10_2.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debuginfo-0:5.6.1-2.el10_2.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debuginfo-0:5.6.1-2.el10_2.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debuginfo-0:5.6.1-2.el10_2.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debugsource-0:5.6.1-2.el10_2.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debugsource-0:5.6.1-2.el10_2.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debugsource-0:5.6.1-2.el10_2.1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- environment-modules-debugsource-0:5.6.1-2.el10_2.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
✅ 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.