Skip to main content

Nomad exec2 driver CVE-2026-8052

| EUVDEUVD-2026-29827 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-05-12 HashiCorp GHSA-wqwc-x3rc-2xw6
6.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain Nomad operator privileges
  2. Delivery
    Craft malicious exec2 task with symlink payload
  3. Exploit
    Submit task to targeted client node
  4. Execution
    exec2 driver follows symlink without validation
  5. Impact
    Read or overwrite arbitrary host file as Nomad process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
Exploitation Conditions

Exploitation requires local access to the Nomad client with high privilege level (PR:H per the CVSS vector), specifically the ability to submit or control exec2 task definitions on the target Nomad client node. The exec2 task driver plugin must be installed and enabled in the Nomad client configuration - deployments not using exec2 are not at risk. Exploitation is not automatable (SSVC: Automatable: no) and is not triggered remotely without first obtaining Nomad operator-level access. Limiting factors include the requirement for high privilege (PR:H), local attack vector (AV:L), and the non-default nature of the exec2 plugin, which must be explicitly deployed and configured. The absence of remote attack capability and the high privilege threshold substantially reduce the realistic attacker population.

Impact

The CVSS base score of 6.0 (Medium) reflects a local attack vector (AV:L), low attack complexity (AC:L), and high privilege requirement (PR:H), which substantially limits the realistic attack surface. The Scope:Changed metric (S:C) elevates concern because successful exploitation escapes the task sandbox boundary to affect the broader host. EPSS sits at just 0.02% (6th percentile), consistent with SSVC's assessment of exploitation status as 'none' and technical impact as 'partial.' There is no CISA KEV listing and no POC identified. One notable discrepancy: the CVSS vector records C:N (no confidentiality impact), yet the vulnerability description explicitly includes arbitrary file read - which implies confidentiality impact of at least C:H. Security teams should treat the C:N assignment with caution and assume file read is realistically achievable. Overall, real-world risk is constrained by the requirement for high local privileges and direct access to the Nomad client; this is not a remotely triggerable, unauthenticated vulnerability.

Exploit ScenarioDerived

A Nomad operator or malicious job specification with sufficient privileges to submit exec2 tasks on a client node creates a symbolic link within the task's writable directory that points to a sensitive file on the host, such as /etc/shadow or an SSH private key. When the exec2 driver processes file operations without resolving the symlink safely, it reads or overwrites the target host file as the Nomad process user, bypassing the task's intended filesystem isolation. No public exploit code has been identified, meaning exploitation likely requires manual crafting of a malicious task definition.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Arbitrary file read and write on the Nomad client host is achievable through a symlink attack in HashiCorp Nomad's exec2 task driver prior to version 0.1.2. An attacker operating as the Nomad process user with high local privileges can exploit CWE-59 link-following behavior to redirect file operations outside the intended task sandbox, reading or writing arbitrary files on the underlying host. No public exploit code has been identified and CISA has not added this to the Known Exploited Vulnerabilities catalog, but the integrity impact is significant given the scope change to the host system.

RemediationAI

The primary fix is to upgrade the exec2 task driver to version 0.1.2, which HashiCorp has confirmed resolves the symlink vulnerability. Details are available in the HashiCorp security advisory at https://discuss.hashicorp.com/t/hcsec-2026-13-nomads-exec2-task-driver-vulnerable-to-arbitrary-file-read-write-on-client-host-through-symlink-attack/77415. If an immediate upgrade is not feasible, a compensating control is to disable the exec2 task driver entirely and substitute an alternative driver such as the built-in exec or docker drivers, though this will prevent exec2-specific task workloads from running and may require job specification changes. Additionally, applying the principle of least privilege by restricting which Nomad operators or jobs can submit exec2 tasks reduces the pool of potential attackers, since PR:H is required. Enforce strict access controls on Nomad ACL policies to limit who can submit tasks using this driver.

Affected VersionsENISA

Shared library 0.1.0 <0.1.2

Affected Packages

go github.com/hashicorp/nomad-driver-exec2 fix: 0.1.2
euvd shared_library fix: 0.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The exec2 task driver is a plugin for HashiCorp Nomad, a workload orchestration platform, responsible for executing tasks in a sandboxed environment on client nodes. CWE-59 (Improper Link Resolution Before File Access - 'Link Following') describes a class of vulnerabilities where software resolves symbolic links without sufficient validation, allowing an attacker to redirect file operations to unintended filesystem paths. In this case, the exec2 driver fails to safely dereference symlinks during task execution, permitting the Nomad process user to traverse outside the task's designated filesystem scope. The affected CPE is cpe:2.3:a:hashicorp:shared_library:*:*:*:*:*:*:*:*, covering exec2 task driver versions from 0.1.0 up to but not including 0.1.2. The S:C (Scope Changed) metric in the CVSS vector confirms impact extends beyond the task isolation boundary to the client host.

Know when Shared Library gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.0 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
vuln.today AI 7.9 HIGH

PR:H required per task submission privileges; C:H added because description confirms arbitrary file read, contradicting the NVD C:N assignment; S:C retained as exploitation escapes task sandbox to host.

3.1 AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
May 12, 2026 - 21:33 EUVD
CVE Published
May 12, 2026 - 19:09 nvd
MEDIUM 6.0

DescriptionCVE.org

HashiCorp Nomad’s exec2 task driver prior to 0.1.2 is vulnerable to arbitrary file read and write on the client host as the Nomad process user through a symlink attack. This vulnerability (CVE-2026-8052) is fixed in version 0.1.2 of the exec2 task driver.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Low
niche optional plugin for HashiCorp Nomad orchestrator
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy