Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
CVE-2026-85013 is fixed in 6 products on 1 platform, first by DEBIAN-CVE-2026-85013, released September 12, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| environment-modules · RHEL 10 | 5.6.1-2.el10_2.1 | RHSA-2026:80664 | Oct 13, 2026 |
| environment-modules · RHEL 8 | 0:4.5.2-5.el8_10 | RHSA-2026:82919 | Oct 16, 2026 |
| environment-modules · RHEL 9 | 0:5.3.0-2.el9_8.1 | RHSA-2026:84594 | Oct 19, 2026 |
| environment-modules · almalinux 10 | 5.6.1-2.el10_2.1 | ALSA-2026:80664 | Nov 7, 2026 |
| environment-modules · almalinux 8 | 4.5.2-5.el8_10 | ALSA-2026:82919 | Nov 7, 2026 |
| environment-modules · almalinux 9 | 5.3.0-2.el9_8.1 | ALSA-2026:84594 | Nov 7, 2026 |
| environment-modules · amzn 2023 | 4.8.0-1.amzn2023.0.3 | ALAS2023-2026-3135 | Sep 28, 2026 |
| environment-modules · ol 10 | 0:5.6.1-2.el10_2.1 | ELSA-2026-80664 | Nov 7, 2026 |
| environment-modules · ol 8 | 0:4.5.2-5.el8_10 | ELSA-2026-82919 | Nov 7, 2026 |
| environment-modules · ol 9 | 0:5.3.0-2.el9_8.1 | ELSA-2026-84594 | Nov 7, 2026 |
| environment-modules · rocky 10 | 0:5.6.1-2.el10_2.1 | RLSA-2026:80664 | Nov 7, 2026 |
| environment-modules · rocky 8 | 0:4.5.2-5.el8_10 | RLSA-2026:82919 | Nov 7, 2026 |
| environment-modules · rocky 9 | 0:5.3.0-2.el9_8.1 | RLSA-2026:84594 | Nov 7, 2026 |
| environment-modules-compat · amzn 2023 | 4.8.0-1.amzn2023.0.3 | ALAS2023-2026-3135 | Sep 28, 2026 |
| environment-modules-compat-debuginfo · amzn 2023 | 4.8.0-1.amzn2023.0.3 | ALAS2023-2026-3135 | Sep 28, 2026 |
| environment-modules-debuginfo · amzn 2023 | 4.8.0-1.amzn2023.0.3 | ALAS2023-2026-3135 | Sep 28, 2026 |
| environment-modules-debugsource · amzn 2023 | 4.8.0-1.amzn2023.0.3 | ALAS2023-2026-3135 | Sep 28, 2026 |
| modules · Debian 14 | 5.6.1-3 | DEBIAN-CVE-2026-85013 | Sep 12, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.