{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10230 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-10230 is a critical command injection vulnerability in Red Hat Enterprise Linux 10, published on 7 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-10230 and fix it if it is affected.\n\nWhat it is: CVE-2025-10230 is a critical command injection vulnerability in Red Hat Enterprise Linux 10, published on 7 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10230 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-2025-10230/ (Markdown: https://insights.sbomify.com/CVE-2025-10230/index.md)","id":"CVE-2025-10230","markdown":"https://insights.sbomify.com/CVE-2025-10230/index.md","name":"CVE-2025-10230","record":{"aliases":["ALPINE-CVE-2025-10230","AZL-69782","AZL-69830","CLSA-2026-1773050498","CLSA-2026-1773073974","CLSA-2026-1773667921","DEBIAN-CVE-2025-10230","ECHO-5437-9508-127b","GHSA-88qg-f543-x242","UBUNTU-CVE-2025-10230"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Samba AD Domain Controller","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary commands on Samba Active Directory Domain Controllers via unsanitized NetBIOS names in WINS registration packets.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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 Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller’s wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-10-19","github_poc":3,"max_poc_stars":6,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-10-19T15:30:34Z","kind":"github_poc","ref":"https://github.com/dptsec/CVE-2025-10230","stars":6,"title":"PoC for CVE-2025-10230 - Samba WINS hook command injection"},{"date":"2025-11-23T00:28:11Z","kind":"github_poc","ref":"https://github.com/nehkark/CVE-2025-10230","stars":1,"title":"CVE-2025-10230 PoC - Samba WINS Hook Command Injection "},{"date":"2025-11-26T19:37:16Z","kind":"github_poc","ref":"https://github.com/marcostolosa/CVE-2025-10230","stars":0,"title":"OS command injection vulnerability in Samba that received the maximum possible CVSS v3.1 score of 10.0"}],"tier":"weaponised"},"has_fix":true,"headline":"Samba: command injection in wins server hook script","id":"CVE-2025-10230","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"N-central Incorrect Default Permissions could lead to Privilege Escalation","id":"CVE-2025-10231"},"packages":[],"prev":{"headline":"Freshwork logout redirect","id":"CVE-2025-10229"},"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 OpenShift Container Platform 4"],"published":"2025-11-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-31","vendors":["Red Hat"]},"summary":"Unauthenticated attackers can execute arbitrary commands on Samba Active Directory Domain Controllers via unsanitized NetBIOS names in WINS registration packets.","url":"https://insights.sbomify.com/CVE-2025-10230/"}