Moderate Security Vulnerability in Environment-Modules Package: Command Injection Risk

environment-modules Updated 19 Oct 2026

Summary

19/10/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:84594: Moderate: environment-modules security update. Affects environment-modules versions < 5.3.0-2.el9_8.1. Fixed in 5.3.0-2.el9_8.1. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The environment-modules package is designed to facilitate dynamic modification of user environments through the use of module files. These module files contain essential information for configuring the shell for various applications. Once initialized, users can modify their environment on a per-module basis using the 'module' utility, which interprets these module files. This flexibility is crucial for managing different software environments, especially in multi-user systems.

Vulnerability Detail

The vulnerability identified as CVE-2026-85013 involves a command injection risk within the environment-modules package. This issue arises from the handling of malicious module names that contain shell metacharacters. If an attacker can manipulate module names, they may execute arbitrary commands in the shell context, potentially leading to unauthorized access or system compromise. The ramifications of this vulnerability can be severe, especially in environments where multiple users have access to the module system.

How To Fix

Minimum fixed version

5.3.0-2.el9_8.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 can lead to command injection through malicious module names. It is crucial for users to update to the latest patched version to secure their systems. Additionally, utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for environment-modules →

Share this vulnerability

FAQ

The vulnerability allows for command injection through malicious module names that include shell metacharacters.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.

Update the environment-modules package to version 5.3.0-2.el9_8.1 or later to mitigate the vulnerability.

Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities using just a manifest file like package-lock.json.

Shell metacharacters are special characters in shell commands that have specific meanings, such as executing commands or redirecting input/output. They pose a risk when included in module names, as they can be exploited for command injection.

Related vulnerabilities

Recent vulnerabilities recorded for environment-modules.

How To Fix

Minimum fixed version

5.3.0-2.el9_8.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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback