CVE-2023-1299
JSON

7.4high

Nomad Job Submitter Privilege Escalation Using Workload Identity

Severity
7.4high CVSS:3.1 by HashiCorp
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
HashiCorp
Also known as
GHSA-rqm8-q8j9-662fGO-2023-1633

Description

HashiCorp Nomad and Nomad Enterprise 1.5.0 allow a job submitter to escalate to management-level privileges using workload identity and task API. Fixed in 1.5.1.

Affected

Product or packageVersionsReported by
HashiCorp Nomad1.5.0CVE List, NVD
HashiCorp Nomad Enterprise1.5.0CVE List
github.com/hashicorp/nomad (Go)from 1.5.0 before 1.5.1GitHub Advisory Database, Go Vulnerability Database

All scores

HashiCorp7.4high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

HashiCorp Nomad and Nomad Enterprise 1.5.0 allow a job submitter to escalate to management-level privileges using workload identity and task API. Fixed in 1.5.1.

GitHub Advisory Database
Summary

A vulnerability was identified in Nomad and Nomad Enterprise (“Nomad”) such that a user with the submit-job ACL capability can submit a job that can escalate to management-level privileges. This vulnerability, CVE-2023-1299, was introduced in Nomad 1.5.0 and fixed in Nomad 1.5.1.

Background

Nomad 1.4.0 introduced the concept of workload identity so that tasks can access variables without needing to access them through Nomad HTTP API with an ACL token.

In 1.5.0, the identity block was introduced, which exposes the workload identity token to the workload so it can access Nomad HTTP API via a unix domain socket without configuring mTLS.

Details

During internal testing, we discovered it was possible to abuse the workload identity to elevate to management-level privilege if the workload identity did not have any attached ACL policies.

Remediation

Customers should evaluate the risk associated with this issue and consider upgrading to Nomad 1.5.1 or newer. See Nomad’s Upgrading for general guidance on this process.

Go Vulnerability Database

Nomad Job Submitter Privilege Escalation Using Workload Identity in github.com/hashicorp/nomad

References

Sources

SourceRecordLicence
CVE ListCVE-2023-1299 changed 2025-02-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-rqm8-q8j9-662f changed 2024-08-20CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1633 changed 2026-03-03CC-BY-4.0
NVDCVE-2023-1299 changed 2026-06-17Public domain