Incorrect Privilege Assignment Affecting github.com/hashicorp/nomad/command/agent package, versions >=1.4.0 <1.10.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPNOMADCOMMANDAGENT-10343784
  • published12 Jun 2025
  • disclosed11 Jun 2025
  • creditUnknown

Introduced: 11 Jun 2025

NewCVE-2025-4922  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/nomad/command/agent to version 1.10.2 or higher.

Overview

github.com/hashicorp/nomad/command/agent is a package part of hashicorp's nomad.

Affected versions of this package are vulnerable to Incorrect Privilege Assignment due to prefix-based ACL policy lookups. An attacker with knowledge of existing job names and permission to create a job can create a job whose name starts with the name of another job, and thereby apply incorrect rules and shadow legitimate ones.

CVSS Base Scores

version 4.0
version 3.1