CVE-2026-85013 Command injection in Red Hat Enterprise Linux 10

High 7.3 Published Updated

Local attackers can execute arbitrary commands via shell metacharacters in module names during Bash completion, affecting Linux users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-85013?

CVE-2026-85013 is a high-severity command injection vulnerability in Red Hat Enterprise Linux 10, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-78

Which versions are affected by CVE-2026-85013?

Linux distribution packages (17)
environment-modules AlmaLinux:10All versions5.6.1-2.el10_2.1
environment-modules AlmaLinux:8All versions4.5.2-5.el8_10
environment-modules AlmaLinux:9All versions5.3.0-2.el9_8.1
environment-modules Red Hat:enterprise_linux:10.2All versions0:5.6.1-2.el10_2.1
environment-modules-debuginfo Red Hat:enterprise_linux:10.2All versions0:5.6.1-2.el10_2.1
environment-modules-debugsource Red Hat:enterprise_linux:10.2All versions0:5.6.1-2.el10_2.1
environment-modules Red Hat:enterprise_linux:8::baseosAll versions0:4.5.2-5.el8_10
environment-modules-compat-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:4.5.2-5.el8_10
environment-modules-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:4.5.2-5.el8_10
environment-modules-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:4.5.2-5.el8_10
environment-modules Red Hat:enterprise_linux:9::baseosAll versions0:5.3.0-2.el9_8.1
environment-modules-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:5.3.0-2.el9_8.1
environment-modules-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:5.3.0-2.el9_8.1
environment-modules Red Hat:hummingbird:1All versions0:5.6.2-1.hum1
environment-modules Rocky Linux:10All versions0:5.6.1-2.el10_2.1
environment-modules Rocky Linux:8All versions0:4.5.2-5.el8_10
environment-modules Rocky Linux:9All versions0:5.3.0-2.el9_8.1

How do I fix CVE-2026-85013?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-85013 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85013 exists.

Sources

Also known as ALSA-2026:80664, ALSA-2026:82919, ALSA-2026:84594, AZL-107969, DEBIAN-CVE-2026-85013, RHSA-2026:64766 and 7 more.

Is CVE-2026-85013 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free