Moderate Security Update for Environment-Modules: Command Injection Vulnerability
Summary
ALSA-2026:80664: Moderate: environment-modules security update. Affects environment-modules versions < 5.6.1-2.el10_2.1. Fixed in 5.6.1-2.el10_2.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The environment-modules package is designed to facilitate dynamic modification of user environments through module files. These module files contain essential information for configuring the shell for various applications. Users can modify their environment on a per-module basis using the 'module' utility, which interprets these module files. This flexibility makes environment-modules a vital tool for managing application environments in multi-user systems.
Vulnerability Detail
The vulnerability identified in the environment-modules package is a command injection flaw that arises from the handling of malicious module names containing shell metacharacters. This issue, cataloged as CVE-2026-85013, allows an attacker to execute arbitrary commands in the context of the user’s shell, potentially leading to unauthorized access or data manipulation. The risk is particularly pronounced in environments where users can create or modify module files, as this could be exploited to execute harmful commands.
How To Fix
Minimum fixed version
5.6.1-2.el10_2.1
This is the first release that contains the fix.
sudo dnf update environment-modules
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can avoid using module names that contain shell metacharacters until the package is updated. This can help mitigate the risk of command injection until a proper fix is applied.
Conclusion
The environment-modules package has a moderate security vulnerability that allows for command injection through malicious module names. Users are advised to update to the latest patched version to mitigate this risk. Until the update can be applied, users should avoid using potentially harmful module names.
See every vulnerability recorded for environment-modules →
FAQ
The vulnerability is a command injection flaw that can be exploited through malicious module names containing shell metacharacters.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring installation.
Exploitation of this vulnerability could allow an attacker to execute arbitrary commands, leading to unauthorized access or data manipulation.
Yes, a patch is available in version 5.6.1-2.el10_2.1 of the environment-modules package.
If an immediate update is not possible, avoid using module names with shell metacharacters as a temporary workaround.
Related vulnerabilities
Recent vulnerabilities recorded for environment-modules.