{"id":"UBUNTU-CVE-2026-85013","details":"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.","modified":"2026-10-17T13:01:13.459651697Z","published":"2026-09-15T16:17:00Z","upstream":["CVE-2026-85013"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-85013"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-85013"}],"affected":[{"package":{"name":"modules","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/modules?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.10-9"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"3.2.10-9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}},{"package":{"name":"modules","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/modules?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.10-10","4.0.0-1","4.0.0-2","4.1.0-1","4.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"4.1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}},{"package":{"name":"modules","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/modules?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0-2","4.3.1-1","4.4.0-1","4.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"4.4.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}},{"package":{"name":"modules","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/modules?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0~alpha-1","5.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"5.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}},{"package":{"name":"modules","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/modules?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.3.1-1","5.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"5.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}},{"package":{"name":"modules","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/modules?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.6.1-1","5.6.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"5.6.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}},{"package":{"name":"modules","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/modules?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.0-1","5.6.0-1","5.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"environment-modules","binary_version":"5.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85013.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}