# CVE-2024-9042: Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API

- Severity: Medium 5.9 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-02)
- Published: 2025-03-13T16:40:13.895Z
- Modified: 2026-09-10T03:50:23.382Z
- Also known as: GHSA-vv39-3w5q-974q, GO-2025-3522
- Related: CGA-2jv8-37vv-3rwg
- Weaknesses: CWE-20, CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: kubernetes

## Description

This CVE affects only Windows worker nodes. Your worker node is vulnerable to this issue if it is running one of the affected versions listed below.

(As written by CVE List.)

## Affected

- Kubernetes Kubelet: <=v1.29.12; from v1.30 up to v1.30.8; from v1.31 up to v1.31.4; from v1.32 up to v1.32.0
- k8s.io/kubernetes (Go): before 1.29.13; from 1.30.0-alpha.0 before 1.30.9; from 1.31.0-alpha.0 before 1.31.5; from 1.32.0-alpha.0 before 1.32.1

## Every score

- kubernetes: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

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

## Sources

- CVE List: [CVE-2024-9042](https://www.cve.org/CVERecord?id=CVE-2024-9042), CVE Terms of Use, modified 2025-03-13
- GitHub Advisory Database: [GHSA-vv39-3w5q-974q](https://github.com/advisories/GHSA-vv39-3w5q-974q), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3522](https://pkg.go.dev/vuln/GO-2025-3522), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-9042](https://nvd.nist.gov/vuln/detail/CVE-2024-9042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-9042 · Whole record: https://cve.day/CVE-2024-9042.json · Rebuilt by cve.day 2026-11-25T22:58:52.284Z
