{"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-59376 exists.","fix":"No fix has been published for CVE-2025-59376 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-59376 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-59376 and fix it if it is affected.\n\nWhat it is: CVE-2025-59376 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-59376 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-59376/ (Markdown: https://insights.sbomify.com/CVE-2025-59376/index.md)","id":"CVE-2025-59376","markdown":"https://insights.sbomify.com/CVE-2025-59376/index.md","name":"CVE-2025-59376","record":{"aliases":["GHSA-hjm5-xgj8-vwj6","PYSEC-2026-1619"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes MCP server","requires_auth":"none","summary":"An attacker can bypass write and delete restrictions in the Kubernetes MCP server by using chained commands, leading to unauthorized command execution.","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-863","name":"Incorrect Authorization"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"feiskyer mcp-kubernetes-server through 0.1.11 does not consider chained commands in the implementation of --disable-write and --disable-delete, e.g., it allows a \"kubectl version; kubectl delete pod\" command because the first word (i.e., \"version\") is not a write or delete operation.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2025-09-15","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-09-15T12:52:30Z","kind":"github_poc","ref":"https://github.com/william31212/CVE-Requests-1896609","stars":1,"title":"CVE-2025-59376, CVE-2025-59377"}],"tier":"weaponised"},"has_fix":false,"headline":"mcp-kubernetes-server has a Command Injection vulnerability","id":"CVE-2025-59376","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":"mcp-kubernetes-server has an OS Command Injection vulnerability","id":"CVE-2025-59377"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.1.11"],"package":"mcp-kubernetes-server","purl":null,"source":"GHSA-hjm5-xgj8-vwj6"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.1.11"],"package":"mcp-kubernetes-server","purl":"pkg:pypi/mcp-kubernetes-server","source":"GHSA-hjm5-xgj8-vwj6"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.1.11"],"package":"mcp-kubernetes-server","purl":"pkg:pypi/mcp-kubernetes-server","source":"PYSEC-2026-1619"}],"prev":{"headline":"Denial of service in libexpat","id":"CVE-2025-59375"},"products":["mcp-kubernetes-server"],"published":"2025-09-15","related":[{"cvss_score":3.7,"headline":"mcp-kubernetes-server has an OS Command Injection vulnerability","id":"CVE-2025-59377","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-15","vendors":["feiskyer"]},"summary":"An attacker can bypass write and delete restrictions in the Kubernetes MCP server by using chained commands, leading to unauthorized command execution.","url":"https://insights.sbomify.com/CVE-2025-59376/"}