# Kubernetes allows Command Injection affecting Windows nodes via nodes/\*/logs/query API

Advisory record · `GHSA-vv39-3w5q-974q`

- **Identifiers:** `GHSA-vv39-3w5q-974q` · `CVE-2024-9042` · `GO-2025-3522`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-77](https://cwe.mitre.org/data/definitions/77.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 13 Mar 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Mar 2025, 18:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `k8s.io/kubernetes` (Go): affected `<1.29.13 || >=1.30.0-alpha.0, <1.30.9 || >=1.31.0-alpha.0, <1.31.5 || >=1.32.0-alpha.0, <1.32.1`; fixed in `1.29.13`, `1.30.9`, `1.31.5`, `1.32.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Kubernetes (k8s.io/kubernetes) versions before 1.29.13, from 1.30.0-alpha.0 before 1.30.9, from 1.31.0-alpha.0 before 1.31.5, and from 1.32.0-alpha.0 before 1.32.1 are affected, but only on Windows worker nodes. A user who can query a node's logs endpoint can run arbitrary commands on the host. Upgrade to 1.29.13, 1.30.9, 1.31.5, 1.32.1 or later.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`, from CNA (kubernetes)

- **CISA KEV:** Not listed.
- **EPSS:** 0.014, the 72nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-vv39-3w5q-974q)

## Sources

- [GitHub Advisory Database: GHSA-vv39-3w5q-974q](https://github.com/advisories/GHSA-vv39-3w5q-974q)
- [OSV: GHSA-vv39-3w5q-974q](https://osv.dev/vulnerability/GHSA-vv39-3w5q-974q)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-9042>
- <https://github.com/kubernetes/kubernetes/issues/129654>
- <https://github.com/kubernetes/kubernetes/commit/45f4ccc2153bbb782253704cbe24c05e22b5d60c>
- <https://github.com/kubernetes/kubernetes/commit/5fe148234f8ab1184f26069c4f7bef6c37efe347>
- <https://github.com/kubernetes/kubernetes/commit/75c83a6871dc030675288c6d63c275a43c2f0d55>
- <https://github.com/kubernetes/kubernetes/commit/fb0187c2bf7061258bb89891edb1237261eb7abc>
- <https://github.com/kubernetes/kubernetes>
- <https://groups.google.com/g/kubernetes-security-announce/c/9C3vn6aCSVg>
- <http://www.openwall.com/lists/oss-security/2025/01/16/1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-vv39-3w5q-974q>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-vv39-3w5q-974q/>. Everything for agents: <https://agentprime.io/llms.txt>.
