RHSA-2026:98565: Moderate: environment-modules security update
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/environment-modulesto a version that resolves this vulnerability.Fixed in 5.6.1-3.el10_3 - Upgrade
Upgrade
redhat/environment-modules-debuginfoto a version that resolves this vulnerability.Fixed in 5.6.1-3.el10_3 - Upgrade
Upgrade
redhat/environment-modules-debugsourceto a version that resolves this vulnerability.Fixed in 5.6.1-3.el10_3 - Upgrade
Upgrade
redhat/environment-modulesto a version that resolves this vulnerability.Fixed in 5.6.1-3.el10_3.aa - Upgrade
Upgrade
redhat/environment-modules-debuginfoto a version that resolves this vulnerability.Fixed in 5.6.1-3.el10_3.aa - Upgrade
Upgrade
redhat/environment-modules-debugsourceto a version that resolves this vulnerability.Fixed in 5.6.1-3.el10_3.aa
Event History
Frequently Asked Questions
What must an attacker control to exploit this issue?
The attacker needs to provide or cause the use of a malicious module name containing shell metacharacters. The injection occurs through the environment-modules Bash completion functionality.
Which packages should be included when applying the update?
The advisory lists redhat/environment-modules, redhat/environment-modules-debuginfo, and redhat/environment-modules-debugsource. Systems with any of these installed should review and apply the associated security update.