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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
| Red Hat | Red Hat Hardened Images | — |
| Red Hat | Red Hat Enterprise Linux 6 | — |
| Red Hat | Red Hat Enterprise Linux 7 | — |
References
- https://access.redhat.com/errata/RHSA-2026:64766
- https://access.redhat.com/errata/RHSA-2026:80664
- https://access.redhat.com/errata/RHSA-2026:82919
- https://access.redhat.com/errata/RHSA-2026:84594
- https://access.redhat.com/security/cve/CVE-2026-85013
- https://bugzilla.redhat.com/show_bug.cgi?id=2465635
- https://github.com/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg
- https://github.com/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg
Timeline
- Published
- Sep 15, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Awaiting Analysis