# CVE-2024-9594: VM images built with Image Builder with some providers use default credentials during builds

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.09% (percentile 65, 2026-11-26)
- **CWE:** CWE-798
- **Aliases:** GHSA-8jpg-62jc-hwhr, GO-2024-3204
- **Published:** 2024-10-15T20:37:01.308Z
- **Modified:** 2026-06-17T08:24:53.340Z

## Who should check

- Projects that depend on Go package github.com/kubernetes-sigs/image-builder (\< 0.1.38)
- Anyone running Kubernetes Image Builder \<= 0.1.37

## Description

A security issue was discovered in the Kubernetes Image Builder versions \<= v0.1.37 where default credentials are enabled during the image build process when using the Nutanix, OVA, QEMU or raw providers. The credentials can be used to gain root access. The credentials are disabled at the conclusion of the image build process. Kubernetes clusters are only affected if their nodes use VM images created via the Image Builder project. Because these images were vulnerable during the image build process, they are affected only if an attacker was able to reach the VM where the image build was happening and used the vulnerability to modify the image at the time the image build was occurring.

## Affected and fixed versions

- Go `github.com/kubernetes-sigs/image-builder`: affected \< 0.1.38; fixed 0.1.38 (osv)
- Kubernetes Image Builder: \<= 0.1.37 (cvelist)

## Mitigation

- Upgrade github.com/kubernetes-sigs/image-builder to 0.1.38 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-9594. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-9594.md
Affected: github.com/kubernetes-sigs/image-builder < 0.1.38
Fixed in: 0.1.38

Steps:
1. Search this machine and project for github.com/kubernetes-sigs/image-builder (Go), Kubernetes Image Builder: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-9594 being exploited?

There is no confirmed exploitation: CVE-2024-9594 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.09% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-9594?

Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-9594?

github.com/kubernetes-sigs/image-builder \< 0.1.38.

### Is there a fix for CVE-2024-9594?

Yes. Fixed in 0.1.38. Upgrade github.com/kubernetes-sigs/image-builder to 0.1.38 or later.

### How do I check if I'm affected by CVE-2024-9594?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/kubernetes/kubernetes/issues/128007>
- vendor: <https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-9594>
- patch: <https://github.com/kubernetes-sigs/image-builder/pull/1596>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-9594>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8jpg-62jc-hwhr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-3204> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-9594> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-9594>
