CVE-2024-7625: Nomad Vulnerable to Allocation Directory Escape On Non-Existing File Paths Through Archive Unpacking
In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.6.13, 1.7.10, and 1.8.2, the archive unpacking process is vulnerable to writes outside the allocation directory during migration of allocation directories when multiple archive headers target the same file. This vulnerability, CVE-2024-7625, is fixed in Nomad 1.6.14, 1.7.11, and 1.8.3.
Published Aug 15, 2024 · Updated Sep 25, 2024
Affected packages
github.com/hashicorp/nomad
- Ecosystem
- Go
- Affected
- >= 0.6.1, < 1.6.14
- Fixed in
- 1.6.14
- Check
go list -m github.com/hashicorp/nomad
github.com/hashicorp/nomad
- Ecosystem
- Go
- Affected
- >= 1.7.0, < 1.7.11
- Fixed in
- 1.7.11
- Check
go list -m github.com/hashicorp/nomad
github.com/hashicorp/nomad
- Ecosystem
- Go
- Affected
- >= 1.8.0, < 1.8.3
- Fixed in
- 1.8.3
- Check
go list -m github.com/hashicorp/nomad
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.6.13, 1.7.10, and 1.8.2, the archive unpacking process is vulnerable to writes outside the allocation directory during migration of allocation directories when multiple archive headers target the same file. This vulnerability, CVE-2024-7625, is fixed in Nomad 1.6.14, 1.7.11, and 1.8.3. Access or compromise of the Nomad client agent at the source allocation first is a prerequisite for leveraging this vulnerability.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-6959
HashiCorp Nomad vulnerable to symlink attack
medium6.0May 12, 2026CVE-2026-7474
HashiCorp Nomad vulnerable to a path traversal
high8.8May 12, 2026CVE-2025-4922
Hashicorp Nomad Incorrect Privilege Assignment vulnerability
high8.1Jun 11, 2025CVE-2025-1296
Nomad is vulnerable to unintentional exposure of the workload identity token and client secret token in audit logs
medium6.5No fixMar 10, 2025CVE-2024-12678
Hashicorp Nomad Incorrect Privilege Assignment vulnerability
medium6.5Dec 20, 2024CVE-2024-10975
Hashicorp Nomad Incorrect Authorization vulnerability
medium7.7No fixNov 7, 2024
