{"id":"CVE-2026-85013","aliases":["CVE-2026-85013"],"related":[],"kind":"vulnerability","state":"published","title":"Environment-modules: command injection in environment-modules bash completion via malicious module names containing shell metacharacters","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-15T15:08:33.907Z","modified":"2026-12-01T03:17:16.797Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:5.6.1-2.el10_2.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"environment-modules","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.6.1-3.el10_3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"environment-modules","cpe":"cpe:/o:redhat:enterprise_linux:10.3","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.5.2-5.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"environment-modules","cpe":"cpe:/o:redhat:enterprise_linux:8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.3.0-2.el9_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"environment-modules","cpe":"cpe:/o:redhat:enterprise_linux:9::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.3.0-3.el9_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"environment-modules","cpe":"cpe:/o:redhat:enterprise_linux:9::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1795539844","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Discovery 2","package":"discovery/discovery-ui-rhel9","cpe":"cpe:/a:redhat:discovery:2::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"5.6.2-1.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"environment-modules-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"environment-modules","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"environment-modules","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-dashboard-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:104803","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:64766","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:80664","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:82919","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:84594","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98460","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98565","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-85013","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2465635","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/envmodules/modules/security/advisories/GHSA-8hrw-p88g-qhmg","tags":["exploit"],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Found by AISLE in partnership with Red Hat."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-15T17:20:35.841Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85013","url":"https://www.cve.org/CVERecord?id=CVE-2026-85013","licence":"CVE Terms of Use","modified":"2026-12-01T02:01:47.269Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85013","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85013","licence":"Public domain","modified":"2026-12-01T03:17:16.797Z"}],"updatedAt":"2026-12-01T03:32:12.549Z","epss":{"score":0.00285,"percentile":0.22599,"date":"2026-12-02T12:00:21.000Z"}}