Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement 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 products4
- Red Hat Hardened Images
- environment-modules-0:5.6.2-1.hum1@aarch64 as a component of Red Hat Hardened Images
- environment-modules-0:5.6.2-1.hum1@src as a component of Red Hat Hardened Images
- environment-modules-0:5.6.2-1.hum1@x86_64 as a component of Red Hat Hardened Images
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ 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 (5)
- selfhttps://access.redhat.com/errata/RHSA-2026:64766
- externalhttps://images.redhat.com/
- externalhttps://access.redhat.com/security/cve/CVE-2026-85013
- externalhttps://access.redhat.com/security/updates/classification/
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_64766.json