{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85013 exists.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-85013 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85013 exists.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-85013/ (Markdown: https://insights.sbomify.com/CVE-2026-85013/index.md)","id":"CVE-2026-85013","markdown":"https://insights.sbomify.com/CVE-2026-85013/index.md","name":"CVE-2026-85013","record":{"aliases":["ALSA-2026:80664","ALSA-2026:82919","ALSA-2026:84594","AZL-107969","DEBIAN-CVE-2026-85013","RHSA-2026:64766","RHSA-2026:80664","RHSA-2026:82919","RHSA-2026:84594","RLSA-2026:80664","RLSA-2026:82919","RLSA-2026:84594","UBUNTU-CVE-2026-85013"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux environment modules","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary commands via shell metacharacters in module names during Bash completion, affecting Linux users.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Red Hat:hummingbird:1","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in Red Hat Enterprise Linux 10","id":"CVE-2026-85013","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":17,"n_references":7,"next":{"headline":"undici vulnerable to Denial of Service via WebSocketStream unclean close","id":"CVE-2026-85014"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["5.6.1-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/almalinux/environment-modules","source":"ALSA-2026:80664"},{"ecosystem":"AlmaLinux:8","fixed":["4.5.2-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/almalinux/environment-modules","source":"ALSA-2026:82919"},{"ecosystem":"AlmaLinux:9","fixed":["5.3.0-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/almalinux/environment-modules","source":"ALSA-2026:84594"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:5.6.1-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/redhat/environment-modules","source":"RHSA-2026:80664"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:5.6.1-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules-debuginfo","purl":"pkg:rpm/redhat/environment-modules-debuginfo","source":"RHSA-2026:80664"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:5.6.1-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules-debugsource","purl":"pkg:rpm/redhat/environment-modules-debugsource","source":"RHSA-2026:80664"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.5.2-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/redhat/environment-modules","source":"RHSA-2026:82919"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.5.2-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"environment-modules-compat-debuginfo","purl":"pkg:rpm/redhat/environment-modules-compat-debuginfo","source":"RHSA-2026:82919"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.5.2-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"environment-modules-debuginfo","purl":"pkg:rpm/redhat/environment-modules-debuginfo","source":"RHSA-2026:82919"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:4.5.2-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"environment-modules-debugsource","purl":"pkg:rpm/redhat/environment-modules-debugsource","source":"RHSA-2026:82919"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:5.3.0-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/redhat/environment-modules","source":"RHSA-2026:84594"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:5.3.0-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules-debuginfo","purl":"pkg:rpm/redhat/environment-modules-debuginfo","source":"RHSA-2026:84594"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:5.3.0-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules-debugsource","purl":"pkg:rpm/redhat/environment-modules-debugsource","source":"RHSA-2026:84594"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:5.6.2-1.hum1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/redhat/environment-modules","source":"RHSA-2026:64766"},{"ecosystem":"Rocky Linux:10","fixed":["0:5.6.1-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/rocky-linux/environment-modules?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:80664"},{"ecosystem":"Rocky Linux:8","fixed":["0:4.5.2-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/rocky-linux/environment-modules?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:82919"},{"ecosystem":"Rocky Linux:9","fixed":["0:5.3.0-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"environment-modules","purl":"pkg:rpm/rocky-linux/environment-modules?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:84594"}],"prev":{"headline":"OS command injection in the Amazon CodeCatalyst blueprints SDK","id":"CVE-2026-85012"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Hardened Images"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-19","vendors":["Red Hat"]},"summary":"Local attackers can execute arbitrary commands via shell metacharacters in module names during Bash completion, affecting Linux users.","url":"https://insights.sbomify.com/CVE-2026-85013/"}