Cyber Security News

HashiCorp Nomad ACL Lookup Flaw Allows Privilege Escalation

HashiCorp disclosed a critical security flaw (CVE-2025-4922) in its Nomad workload orchestration tool on June 11, 2025, exposing clusters to privilege escalation risks through improper ACL policy enforcement.

The vulnerability, rated 8.1 CVSS, enables attackers to bypass namespace restrictions via strategic job naming conventions.

Technical Analysis

Nomad’s Access Control List (ACL) system uses prefix-based matching for job-to-policy resolution.

This allows jobs with partially matching names to inherit policies from existing entries.

For example

textnamespace "prod-database" {
  policy = "write"
  capabilities = ["alloc-exec"]
}

A malicious actor could create prod-database-backup to inherit the write policy despite lacking explicit permissions.

Exploit Scenario

  1. Attacker identifies privileged job secure-payroll with namespace "finance" { policy = "write" }
  2. Creates a new job secure-payroll-audit
  3. Nomad erroneously applies finance Policies for unauthorized jobs

Affected Versions

Product LineVulnerable VersionsPatched Versions
Nomad Community1.4.0 ≤ v ≤ 1.10.11.10.2
Nomad Enterprise1.4.0 ≤ v ≤ 1.10.11.10.2
1.9.0 ≤ v ≤ 1.9.91.9.10
1.8.0 ≤ v ≤ 1.8.131.8.14

Remediation Guidance

  1. Immediate Upgrade bash# Community Edition nomad version | grep 'Nomad v1.10.1' && \ curl -O https://releases.hashicorp.com/nomad/1.10.2/nomad_1.10.2_linux_amd64.zip # Enterprise Edition hashicorp-support login && \ hc-releases get nomad-enterprise 1.10.2
  2. Policy Audit
    Review all namespaces for: textnamespace "*" { policy = "write" } // Wildcard policies increase risk
  3. Implement Least-Privilege Access using exact match rules: textnamespace "prod-api" { policy = "read" variables { path "credentials/*" { capabilities = ["deny"] } } }

Security Implications

This vulnerability enables:

  • Privilege Escalation: Unauthorized job execution in protected namespaces
  • Policy Shadowing: Override of deny rules through prefix collisions
  • Data Exfiltration: Access to sensitive variables in shared namespaces

HashiCorp’s internal security team identified the flaw during routine code audits, with no evidence of active exploitation.

Organizations using multi-tenant Nomad deployments with ACLs should prioritize patching given the attack vector’s low complexity and high potential impact.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates

Anupriya

Any Priya is a cybersecurity reporter at GBHackers On Security, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago