{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-32462 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-32462 is a low-severity missing authorization vulnerability in Sudo, published on 30 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-32462 and fix it if it is affected.\n\nWhat it is: CVE-2025-32462 is a low-severity missing authorization vulnerability in Sudo, published on 30 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-32462 in the wild and no public exploit code.\n\nAffected product: Sudo. 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-2025-32462/ (Markdown: https://insights.sbomify.com/CVE-2025-32462/index.md)","id":"CVE-2025-32462","markdown":"https://insights.sbomify.com/CVE-2025-32462/index.md","name":"CVE-2025-32462","record":{"aliases":["ALSA-2025:10110","ALSA-2025:9978","AZL-64449","AZL-64461","BELL-CVE-2025-32462","CLSA-2025-1751893905","CLSA-2025-1751895848","CLSA-2025-1751900234","CLSA-2025-1751913242","CLSA-2025-1751913478","CLSA-2025-1751913630","CLSA-2025-1752746954","CLSA-2025-1753799090","CLSA-2025-1753799668","CLSA-2025-1753799801","DEBIAN-CVE-2025-32462","DLA-4235-1","DSA-5954-1","ECHO-7021-c433-f22c","GHSA-c5x2-97hm-x895","OESA-2025-1733","OESA-2025-1734","OESA-2025-1737","RHSA-2025:10110","RHSA-2025:10383","RHSA-2025:10518","RHSA-2025:10520","RHSA-2025:10707","RHSA-2025:10779","RHSA-2025:10835","RHSA-2025:10836","RHSA-2025:10871","RHSA-2025:9978","RLSA-2025:10110","RLSA-2025:9978","ROOT-OS-UBUNTU-2004-CVE-2025-32462","SUSE-SU-2025:02174-1","SUSE-SU-2025:02175-1","SUSE-SU-2025:02178-1","SUSE-SU-2025:02179-1","UBUNTU-CVE-2025-32462","USN-7604-2"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Sudo privilege tool","requires_auth":"low_privilege","summary":"Attackers can execute commands on unintended machines if sudoers restricts hosts incorrectly, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":2.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to execute commands on unintended machines.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus_long_life:8.4::baseos","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3"],"exploits":{"exploitdb":1,"first_seen":"2025-07-03","github_poc":11,"max_poc_stars":13,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-07-03T07:59:37Z","kind":"github_poc","ref":"https://github.com/CryingN/CVE-2025-32462","stars":13,"title":"A easy sudo poc by cryingn."},{"date":"2025-07-04T20:04:34Z","kind":"github_poc","ref":"https://github.com/0p5cur/CVE-2025-32462-POC","stars":9,"title":"🔓 Local privilege escalation PoC for CVE-2025-32462 (sudo -h bypass) – gain root via misconfigured sudoers"},{"date":"2025-07-07T11:04:29Z","kind":"github_poc","ref":"https://github.com/MAAYTHM/CVE-2025-32462_32463-Lab","stars":5,"title":"Docker PoC for CVE-2025-32462 \u0026 CVE-2025-32463 (sudo), based on Stratascale CRU research."},{"date":"2025-07-05T08:58:30Z","kind":"github_poc","ref":"https://github.com/SpongeBob-369/cve-2025-32462","stars":3,"title":"cve-2025-32462' demo"},{"date":"2026-03-05T11:48:53Z","kind":"github_poc","ref":"https://github.com/yonathanpy/CVE-2025-32462-CVE-2025-32463-PoC-Lab","stars":2,"title":null},{"date":"2025-07-03T15:53:18Z","kind":"github_poc","ref":"https://github.com/cybersentinelx1/CVE-2025-32462-Exploit","stars":1,"title":"CVE-2025-32462 Exploit"},{"date":"2025-07-28T04:18:34Z","kind":"github_poc","ref":"https://github.com/j3r1ch0123/CVE-2025-32462","stars":1,"title":"The vulnerability was found by Rich Mirch. More details on it here: https://cxsecurity.com/issue/WLB-2025070022"},{"date":"2025-07-03T22:34:04Z","kind":"github_poc","ref":"https://github.com/mylovem313/CVE-2025-32462","stars":0,"title":"CVE-2025-32462 exploit code"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Missing authorization in Sudo","id":"CVE-2025-32462","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":88,"n_references":13,"next":{"headline":"Sudo Inclusion of Functionality from Untrusted Control Sphere","id":"CVE-2025-32463"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.9.5p2-1.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/almalinux/sudo","source":"ALSA-2025:10110"},{"ecosystem":"AlmaLinux:9","fixed":["1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/almalinux/sudo","source":"ALSA-2025:9978"},{"ecosystem":"AlmaLinux:9","fixed":["1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/almalinux/sudo-python-plugin","source":"ALSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.9.5p2-1.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.9.5p2-1.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10110"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.9.5p2-1.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10110"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/redhat/sudo-python-plugin","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.5p2-10.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2025:9978"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.8.29-5.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10518"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.8.29-5.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10518"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:1.8.29-5.el8_2.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10518"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.8.29-7.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10383"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.8.29-7.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10383"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:1.8.29-7.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10383"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.9.5p2-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10520"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.9.5p2-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10520"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:1.9.5p2-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10520"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.9.5p2-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10520"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.9.5p2-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10520"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:1.9.5p2-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10520"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.9.5p2-1.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10836"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.9.5p2-1.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10836"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:1.9.5p2-1.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10836"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/redhat/sudo-python-plugin","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:1.9.5p2-7.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2025:10835"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.9.5p2-9.el9_2.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2025:10779"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.9.5p2-9.el9_2.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2025:10779"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.9.5p2-9.el9_2.3"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/redhat/sudo-python-plugin","source":"RHSA-2025:10779"}],"prev":{"headline":"Code injection in Tiki","id":"CVE-2025-32461"},"products":["Sudo"],"published":"2025-06-30","related":[{"cvss_score":8.2,"headline":"Command injection in n/a","id":"CVE-2017-1000368","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2015-5602","kev_date_added":null,"published":"2015-11-17"},{"cvss_score":7.1,"headline":"Memory corruption in n/a","id":"CVE-2022-43995","kev_date_added":null,"published":"2022-11-02"},{"cvss_score":7,"headline":"Privilege escalation in n/a","id":"CVE-2023-42465","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2019-18684","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2015-8239","kev_date_added":null,"published":"2017-10-10"},{"cvss_score":6.6,"headline":"Sudo: improper handling of ipa_hostname leads to privilege mismanagement","id":"CVE-2023-7090","kev_date_added":null,"published":"2023-12-23"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["Sudo project"]},"summary":"Attackers can execute commands on unintended machines if sudoers restricts hosts incorrectly, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-32462/"}