{"answers":{"affected":"3 open source packages ship an affected version, including github.com/chaos-mesh/chaos-mesh. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-59359 in the wild and no public exploit code.","fix":"Upgrade github.com/chaos-mesh/chaos-mesh to 2.7.3 or later.","what":"CVE-2025-59359 is a critical command injection vulnerability in chaos-mesh:chaos_mesh, published on 15 Sep 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-59359 and fix it if it is affected.\n\nWhat it is: CVE-2025-59359 is a critical command injection vulnerability in chaos-mesh:chaos_mesh, published on 15 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-59359 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/chaos-mesh/chaos-mesh (Go): affected all versions; no fix listed\n- github.com/chaos-mesh/chaos-mesh (Go): affected all versions; fixed in 2.7.3\n- github.com/chaos-mesh/chaos-mesh (Go): affected all versions; fixed in 2.7.3\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-59359/ (Markdown: https://insights.sbomify.com/CVE-2025-59359/index.md)","id":"CVE-2025-59359","markdown":"https://insights.sbomify.com/CVE-2025-59359/index.md","name":"CVE-2025-59359","record":{"aliases":["GHSA-369h-6j28-wwcg","GO-2025-3952"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Chaos Mesh","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary OS commands in Chaos Mesh, leading to remote code execution across the cluster.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[{"product":"chaos_mesh","vendor":"chaos-mesh"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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":"The cleanTcs mutation in Chaos Controller Manager is vulnerable to OS command injection. In conjunction with CVE-2025-59358, this allows  unauthenticated in-cluster attackers to perform remote code execution across the cluster.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2025-09-18","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-09-18T03:03:58Z","kind":"github_poc","ref":"https://github.com/mrk336/Cluster-Chaos-Exploiting-CVE-2025-59359-for-Kubernetes-Takeover","stars":1,"title":"A hands-on forensic walkthrough of CVE-2025-59359, a critical OS command injection flaw in Chaos-Mesh. Learn how attackers hijack Kubernetes clusters via GraphQL mutations, and how to detect, analyze, and report the breach using ELK."}],"tier":"poc_unverified"},"has_fix":true,"headline":"OS command injection in Chaos Mesh via the cleanTcs mutation","id":"CVE-2025-59359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"OS command injection in Chaos Mesh via the killProcesses mutation","id":"CVE-2025-59360"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/chaos-mesh/chaos-mesh","purl":"pkg:golang/github.com/chaos-mesh/chaos-mesh","source":"GO-2025-3952"},{"ecosystem":"Go","fixed":["2.7.3"],"introduced":["0"],"last_affected":[],"package":"github.com/chaos-mesh/chaos-mesh","purl":null,"source":"GHSA-369h-6j28-wwcg"},{"ecosystem":"Go","fixed":["2.7.3"],"introduced":["0"],"last_affected":[],"package":"github.com/chaos-mesh/chaos-mesh","purl":"pkg:golang/github.com/chaos-mesh/chaos-mesh","source":"GHSA-369h-6j28-wwcg"}],"prev":{"headline":"Denial of Service via Unauthorized Access to Chaos Mesh debugging server","id":"CVE-2025-59358"},"products":["chaos-mesh:chaos_mesh"],"published":"2025-09-15","related":[{"cvss_score":9.8,"headline":"OS command injection in Chaos Mesh via the killProcesses mutation","id":"CVE-2025-59360","kev_date_added":null,"published":"2025-09-15"},{"cvss_score":9.8,"headline":"OS command injection in Chaos Mesh via the cleanIptables mutation","id":"CVE-2025-59361","kev_date_added":null,"published":"2025-09-15"},{"cvss_score":8.8,"headline":"Missing authorization in n/a","id":"CVE-2024-36538","kev_date_added":null,"published":"2024-07-24"},{"cvss_score":7.5,"headline":"Denial of Service via Unauthorized Access to Chaos Mesh debugging server","id":"CVE-2025-59358","kev_date_added":null,"published":"2025-09-15"}],"sources":[{"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":"Go Vulnerability Database","prefix":"GO"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-15","vendors":["chaos-mesh"]},"summary":"Unauthenticated attackers can execute arbitrary OS commands in Chaos Mesh, leading to remote code execution across the cluster.","url":"https://insights.sbomify.com/CVE-2025-59359/"}