CVE-2024-12678
Medium · 6.5Hashicorp Nomad Incorrect Privilege Assignment vulnerability
CVSS
6.5
EPSS
0.5%
Published
Dec 20, 2024
CISA due date
—
Cloudanix analysis
A bug in the Nomad orchestration software lets one running job steal credentials that belong to other jobs in the same area, allowing an attacker who already controls one job to reach things they should not.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw allows privilege escalation inside a namespace by exposing unredacted workload identity tokens that can be used to impersonate other workloads.
Why it matters to the business
Attackers who already have a foothold in one workload can gain unauthorized access to other resources within the same namespace, increasing the chance of lateral movement and data exposure in container orchestration environments.
How an attack unfolds
An attacker running code inside an allocation obtains the unredacted workload identity token, then uses that token to authenticate as a different workload and perform actions that should be restricted by namespace boundaries.
How to fix it
Upgrade Nomad Community Edition to 1.9.4 and Nomad Enterprise to 1.9.4, 1.8.8, or 1.7.16. Verify that workload identity token redaction is enabled after the upgrade.
How to confirm the fix worked
Confirm the installed Nomad version meets or exceeds the fixed releases, then inspect allocation logs and token issuance behavior to ensure identity tokens are redacted before being presented to workloads.
Typical attack path
- Compromise or deploy a workload inside a Nomad namespace
- Extract the unredacted workload identity token from the allocation
- Use the token to request Nomad API operations as another identity
- Escalate privileges within the namespace to access additional resources
How to detect it
Search Nomad server and client logs for workload identity token issuance events that lack redaction markers, and look for API calls using tokens that do not match the expected allocation identity.
What your security team should do
- Apply the listed Nomad version upgrades immediately on all clusters
- Audit existing allocations for any workloads that may have received unredacted tokens
- Review namespace isolation policies and reduce unnecessary cross-workload token access
The record
Nomad Community and Nomad Enterprise ("Nomad") allocations are vulnerable to privilege escalation within a namespace through unredacted workload identity tokens. This vulnerability, identified as CVE-2024-12678, is fixed in Nomad Community Edition 1.9.4 and Nomad Enterprise 1.9.4, 1.8.8, and 1.7.16.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/hashicorp/nomad | 0 | 1.9.4 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP6 | govulncheck-vulndb | 0 | 0.0.20250108T191942-150000.1.26.1 |
| Ubuntu:18.04:LTS | nomad | 0 | No fix |
| Ubuntu:20.04:LTS | nomad | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nomad | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | nomad | 0 | No fix |
| openSUSE:Leap 15.6 | govulncheck-vulndb | 0 | 0.0.20250108T191942-150000.1.26.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | 0 | 0.0.20241220T214820-1.1 |
Related vulnerabilities
- GO-2026-4278 HashiCorp Nomad is vulnerable to path escape through archive unpacking during migration… Also affects github.com/hashicorp/nomad
- CVE-2024-10975 Hashicorp Nomad Incorrect Authorization vulnerability Also affects github.com/hashicorp/nomad
- CVE-2024-7625 In HashiCorp Nomad and Nomad Enterprise from 0.6.1 up to 1.16.13, 1.7.10, and 1.8.2, the… Also affects github.com/hashicorp/nomad
- CVE-2024-6717 HashiCorp Nomad and Nomad Enterprise 1.6.12 up to 1.7.9, and 1.8.1 archive unpacking… Also affects github.com/hashicorp/nomad
- CVE-2025-44005 An attacker can bypass authorization checks and force a Step CA ACME or SCEP provisioner… Also affects govulncheck-vulndb
- CVE-2025-66564 Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Also affects govulncheck-vulndb
- CVE-2025-66506 Fulcio is a free-to-use certificate authority for issuing code signing certificates for… Also affects govulncheck-vulndb
- CVE-2025-66411 Coder allows organizations to provision remote development environments via Terraform. Also affects govulncheck-vulndb