Amazon Linux 2 (EOS) Security Advisory: ALAS2-2026-3942
Advisory Released Date: 2026-09-28
Advisory Updated Date: 2026-09-28
_module_comgen_words_and_files() fed untrusted text (module names read
off disk, LOADEDMODULES, MODULEPATH) straight into `compgen -W`, which
performs a full unquoted-word expansion on its wordlist -- including
command substitution -- as a normal, documented part of its behavior.
A module name, loaded-module entry, or MODULEPATH component containing
e.g. `$(...)` therefore ran arbitrary shell code the moment a user
pressed Tab. (CVE-2026-85013)
Affected Packages:
environment-modules
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update environment-modules or yum update --advisory ALAS2-2026-3942 to update your system.
aarch64:
environment-modules-3.2.10-11.amzn2.aarch64
environment-modules-debuginfo-3.2.10-11.amzn2.aarch64
i686:
environment-modules-3.2.10-11.amzn2.i686
environment-modules-debuginfo-3.2.10-11.amzn2.i686
src:
environment-modules-3.2.10-11.amzn2.src
x86_64:
environment-modules-3.2.10-11.amzn2.x86_64
environment-modules-debuginfo-3.2.10-11.amzn2.x86_64