Summary
It was discovered that Modules did not properly handle certain module names
during Bash command completion. A local attacker could possibly use this
issue to execute arbitrary commands in the shell of a user who uses command
completion. This issue was only addressed in Ubuntu 22.04 LTS, Ubuntu 24.04
LTS, and Ubuntu 26.04 LTS.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | modules | 5.0.1-1ubuntu0.1~esm1 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | modules | 5.4.0-1ubuntu0.1~esm1 |
| Ubuntu · Pro 26.04 LTS Pro:26.04:LTS | modules | 5.6.1-1ubuntu0.1~esm1 |
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…
References
-
report
https://ubuntu.com/security/CVE-2026-85013