{"answers":{"affected":"11 open source packages ship an affected version, including ansible-core.","exploited":"There is no known exploitation of CVE-2026-11332 in the wild and no public exploit code.","fix":"Upgrade ansible-core to a fixed version for your release line: 2.16.19rc1, 2.18.18rc1, 2.19.11rc1 or 2.20.7rc1.","what":"CVE-2026-11332 is a high-severity command injection vulnerability in Red Hat Migration Toolkit for Applications 8, published on 5 Jun 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-11332 and fix it if it is affected.\n\nWhat it is: CVE-2026-11332 is a high-severity command injection vulnerability in Red Hat Migration Toolkit for Applications 8, published on 5 Jun 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: There is no known exploitation of CVE-2026-11332 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ansible-core (PyPI): affected all versions; fixed in 2.16.19rc1, 2.18.18rc1, 2.19.11rc1, 2.20.7rc1, 2.21.1rc1\n- ansible-core (PyPI): affected all versions; fixed in 2.16.19rc1\n- ansible-core (PyPI): affected all versions; fixed in 2.16.19rc1\n- ansible-core (PyPI): affected from 2.17.0b1; fixed in 2.18.18rc1\n- ansible-core (PyPI): affected from 2.17.0b1; fixed in 2.18.18rc1\n- ansible-core (PyPI): affected from 2.19.0b1; fixed in 2.19.11rc1\n- ansible-core (PyPI): affected from 2.19.0b1; fixed in 2.19.11rc1\n- ansible-core (PyPI): affected from 2.20.0b1; fixed in 2.20.7rc1\n- ansible-core (PyPI): affected from 2.20.0b1; fixed in 2.20.7rc1\n- ansible-core (PyPI): affected from 2.21.0b1; fixed in 2.21.1rc1\n- ansible-core (PyPI): affected from 2.21.0b1; fixed in 2.21.1rc1\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-11332/ (Markdown: https://insights.sbomify.com/CVE-2026-11332/index.md)","id":"CVE-2026-11332","markdown":"https://insights.sbomify.com/CVE-2026-11332/index.md","name":"CVE-2026-11332","record":{"aliases":["ALSA-2026:57148","ALSA-2026:57149","ALSA-2026:66248","AZL-89402","CLSA-2026-1788175790","CLSA-2026-1788269423","DEBIAN-CVE-2026-11332","GHSA-w8p5-mx5w-cpqj","PYSEC-2026-3458","RHSA-2026:57148","RHSA-2026:57149","RHSA-2026:66248","RHSA-2026:67465","RHSA-2026:67466","RHSA-2026:67467","RLSA-2026:57148","RLSA-2026:57149","RLSA-2026:66248","SUSE-SU-2026:22171-1","SUSE-SU-2026:2680-1","UBUNTU-CVE-2026-11332","openSUSE-SU-2026:11007-1","openSUSE-SU-2026:11062-1","openSUSE-SU-2026:11063-1","openSUSE-SU-2026:11064-1","openSUSE-SU-2026:11503-1","openSUSE-SU-2026:11507-1","openSUSE-SU-2026:11509-1","openSUSE-SU-2026:11840-1","openSUSE-SU-2026:21097-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ansible core","requires_auth":"none","summary":"A malicious Ansible role can inject git flags via requirements.yml, leading to arbitrary code execution on the user's machine during installation.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_eus:9.6::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Module for Systems Management 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ansible-core: argument injection in ansible-galaxy role install leads to arbitrary code execution","id":"CVE-2026-11332","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":45,"n_references":22,"next":{"headline":"tittuvarghese CollegeManagementSystem Student Data Upload Endpoint upload_student_data.php unrestricted upload","id":"CVE-2026-11333"},"packages":[{"ecosystem":"PyPI","fixed":["2.16.19rc1","2.18.18rc1","2.19.11rc1","2.20.7rc1","2.21.1rc1"],"introduced":["0","2.17.0b1","2.19.0b1","2.20.0b1","2.21.0b1"],"last_affected":[],"package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"PYSEC-2026-3458"},{"ecosystem":"PyPI","fixed":["2.16.19rc1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":null,"source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.16.19rc1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.18.18rc1"],"introduced":["2.17.0b1"],"last_affected":[],"package":"ansible-core","purl":null,"source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.18.18rc1"],"introduced":["2.17.0b1"],"last_affected":[],"package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.19.11rc1"],"introduced":["2.19.0b1"],"last_affected":[],"package":"ansible-core","purl":null,"source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.19.11rc1"],"introduced":["2.19.0b1"],"last_affected":[],"package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.20.7rc1"],"introduced":["2.20.0b1"],"last_affected":[],"package":"ansible-core","purl":null,"source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.20.7rc1"],"introduced":["2.20.0b1"],"last_affected":[],"package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.21.1rc1"],"introduced":["2.21.0b1"],"last_affected":[],"package":"ansible-core","purl":null,"source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"PyPI","fixed":["2.21.1rc1"],"introduced":["2.21.0b1"],"last_affected":[],"package":"ansible-core","purl":"pkg:pypi/ansible-core","source":"GHSA-w8p5-mx5w-cpqj"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.16.16-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/almalinux/ansible-core","source":"ALSA-2026:57148"},{"ecosystem":"AlmaLinux:10","fixed":["1:2.16.16-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/almalinux/ansible-test","source":"ALSA-2026:57148"},{"ecosystem":"AlmaLinux:8","fixed":["2.16.3-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/almalinux/ansible-core","source":"ALSA-2026:66248"},{"ecosystem":"AlmaLinux:8","fixed":["2.16.3-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/almalinux/ansible-test","source":"ALSA-2026:66248"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.14.18-3.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/almalinux/ansible-core","source":"ALSA-2026:57149"},{"ecosystem":"AlmaLinux:9","fixed":["1:2.14.18-3.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/almalinux/ansible-test","source":"ALSA-2026:57149"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:2.16.16-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2026:57148"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["1:2.16.16-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2026:57148"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.16.3-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2026:66248"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.16.3-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2026:66248"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:2.14.18-3.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2026:57149"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:2.14.18-3.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2026:57149"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["1:2.16.14-1.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2026:67465"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["1:2.16.14-1.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2026:67465"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["1:2.14.14-1.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2026:67467"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["1:2.14.14-1.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2026:67467"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["1:2.14.18-1.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/redhat/ansible-core","source":"RHSA-2026:67466"},{"ecosystem":"Red Hat:rhel_eus:9.6::appstream","fixed":["1:2.14.18-1.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"ansible-test","purl":"pkg:rpm/redhat/ansible-test","source":"RHSA-2026:67466"},{"ecosystem":"Rocky Linux:10","fixed":["1:2.16.16-2.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/rocky-linux/ansible-core?distro=rocky-linux-10-aarch64\u0026epoch=1","source":"RLSA-2026:57148"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.16.3-4.el8_10"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/rocky-linux/ansible-core?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:66248"},{"ecosystem":"Rocky Linux:9","fixed":["1:2.14.18-3.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/rocky-linux/ansible-core?distro=rocky-linux-9\u0026epoch=1","source":"RLSA-2026:57149"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["2.18.3-150400.9.14.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/suse/ansible-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2026:2680-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Systems Management 15 SP7","fixed":["2.18.3-150400.9.14.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/suse/ansible-core\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Systems%20Management%2015%20SP7","source":"SUSE-SU-2026:2680-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["2.18.3-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/suse/ansible-core\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:22171-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["2.18.3-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/suse/ansible-core\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:22171-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["2.18.3-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/opensuse/ansible-core\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21097-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.21.0-3.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core","purl":"pkg:rpm/opensuse/ansible-core\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11007-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.18.18-1.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core-2.18","purl":"pkg:rpm/opensuse/ansible-core-2.18\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11062-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.19.11-1.1"],"introduced":["0"],"last_affected":[],"package":"ansible-core-2.19","purl":"pkg:rpm/opensuse/ansible-core-2.19\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11063-1"}],"prev":{"headline":"Potential wildcard CNAME RPZ policy bypass","id":"CVE-2026-11331"},"products":["Migration Toolkit for Applications 8","Migration Toolkit for Virtualization","OpenShift Service Mesh 3","Red Hat Advanced Cluster Management for Kubernetes 2","Red Hat Ansible Automation Platform 2","Red Hat Ansible Automation Platform 2.5","Red Hat Ansible Automation Platform 2.5 for RHEL 8","Red Hat Ansible Automation Platform 2.5 for RHEL 9","Red Hat Ansible Automation Platform 2.6","Red Hat Ansible Automation Platform 2.6 for RHEL 10","Red Hat Ansible Automation Platform 2.6 for RHEL 9","Red Hat Ansible Automation Platform 2.7","Red Hat Ansible Automation Platform 2.7 for RHEL 10","Red Hat Ansible Automation Platform 2.7 for RHEL 9","Red Hat Ansible Automation Platform Ansible Core 2","Red Hat Discovery 2","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.6 Extended Update Support","Red Hat OpenShift Container Platform 4.21","Red Hat Satellite 6.17 for RHEL 9","Red Hat Satellite 6.18 for RHEL 9","Red Hat Satellite 6.19 for RHEL 9","Self-service automation portal 2","Service Telemetry Framework 1.5"],"published":"2026-06-05","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":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-21","vendors":["Red Hat"]},"summary":"A malicious Ansible role can inject git flags via requirements.yml, leading to arbitrary code execution on the user's machine during installation.","url":"https://insights.sbomify.com/CVE-2026-11332/"}