Summary
The environment-modules packages provide dynamic modification of user environment using module files. Each module file contains the information needed to configure the shell for an application. Once the package is initialized, the environment can be modified on a per-module basis using the "module" utility, which interprets module files.
Security Fix(es):
* environment-modules: Command injection in environment-modules Bash completion via malicious module names containing shell metacharacters (CVE-2026-85013)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 12
| Release | Package | Fixed in |
|---|---|---|
| Rocky Linux · 10 | environment-modules | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debuginfo | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debuginfo | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debuginfo | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debuginfo | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debugsource | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debugsource | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debugsource | 0:5.6.1-3.el10_3 |
| Rocky Linux · 10 | environment-modules-debugsource | 0:5.6.1-3.el10_3 |
Vulnerabilities 1
-
High 7.3
Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters
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 mali…