OS Command Injection Affecting environment-modules-debuginfo package, versions <0:5.3.0-3.el9_9


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.29% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY9-ENVIRONMENTMODULESDEBUGINFO-21346993
  • published21 Oct 2026
  • disclosed15 Sept 2026

Introduced: 15 Sep 2026

CVE-2026-85013  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 environment-modules-debuginfo to version 0:5.3.0-3.el9_9 or higher.
This issue was patched in RLSA-2026:98460.

NVD Description

Note: Versions mentioned in the description apply only to the upstream environment-modules-debuginfo package and not the environment-modules-debuginfo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

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 malicious module name, containing shell metacharacters, is evaluated as a command. This can lead to arbitrary command execution in the completing user's shell, impacting their confidentiality, integrity, and availability.

CVSS Base Scores

version 3.1