Red HatCVE-2026-85013
Red Hat environment-modules: command injection
No fix yet
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 6 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 7 Product | all versions | No fix yet |
| Red Hat OpenShift AI (RHOAI) Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-78
- www.cve.org/CVERecord?id=CVE-2026-85013
- nvd.nist.gov/vuln/detail/CVE-2026-85013
- access.redhat.com/errata/RHSA-2026:64766
- access.redhat.com/errata/RHSA-2026:80664
- access.redhat.com/errata/RHSA-2026:82919
- access.redhat.com/errata/RHSA-2026:84594
- access.redhat.com/security/cve/CVE-2026-85013
- bugzilla.redhat.com/show_bug.cgi?id=2465635
- github.com/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg