{"answers":{"affected":"3 open source packages ship an affected version, including mcp-kubernetes-server. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59377 exists.","fix":"No fix has been published for CVE-2025-59377 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59377 is a low-severity command injection vulnerability in feiskyer mcp-kubernetes-server, 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-59377 and fix it if it is affected.\n\nWhat it is: CVE-2025-59377 is a low-severity command injection vulnerability in feiskyer mcp-kubernetes-server, published on 15 Sep 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-59377 exists.\n\nAffected packages and fixed versions:\n- mcp-kubernetes-server (PyPI): affected all versions up to 0.1.11; no fix listed\n- mcp-kubernetes-server (PyPI): affected all versions up to 0.1.11; no fix listed\n- mcp-kubernetes-server (PyPI): affected all versions up to 0.1.11; no fix listed\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-59377/ (Markdown: https://insights.sbomify.com/CVE-2025-59377/index.md)","id":"CVE-2025-59377","markdown":"https://insights.sbomify.com/CVE-2025-59377/index.md","name":"CVE-2025-59377","record":{"aliases":["GHSA-4hqq-7q79-932p","PYSEC-2026-409"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes MCP server","requires_auth":"none","summary":"An attacker can execute arbitrary OS commands via the kubectl endpoint due to unsafe shell execution, even in read-only mode.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mcp-kubernetes-server","vendor":"feisky"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"feiskyer mcp-kubernetes-server through 0.1.11 allows OS command injection, even in read-only mode, via /mcp/kubectl because shell=True is used. NOTE: this is unrelated to mcp-server-kubernetes and CVE-2025-53355.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"mcp-kubernetes-server has an OS Command Injection vulnerability","id":"CVE-2025-59377","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Privilege escalation in Guix","id":"CVE-2025-59378"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.1.11"],"package":"mcp-kubernetes-server","purl":null,"source":"GHSA-4hqq-7q79-932p"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.1.11"],"package":"mcp-kubernetes-server","purl":"pkg:pypi/mcp-kubernetes-server","source":"GHSA-4hqq-7q79-932p"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.1.11"],"package":"mcp-kubernetes-server","purl":"pkg:pypi/mcp-kubernetes-server","source":"PYSEC-2026-409"}],"prev":{"headline":"mcp-kubernetes-server has a Command Injection vulnerability","id":"CVE-2025-59376"},"products":["mcp-kubernetes-server"],"published":"2025-09-15","related":[{"cvss_score":3.7,"headline":"mcp-kubernetes-server has a Command Injection vulnerability","id":"CVE-2025-59376","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":"PyPA Advisory Database","prefix":"PYSEC"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-15","vendors":["feiskyer"]},"summary":"An attacker can execute arbitrary OS commands via the kubectl endpoint due to unsafe shell execution, even in read-only mode.","url":"https://insights.sbomify.com/CVE-2025-59377/"}