CVE-2026-8052

Nomad's exec2 task driver vulnerable to arbitrary file read/write on client host through symlink attack

Published May 12, 2026 CVSS 3.1 · 6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A vulnerability in HashiCorp Nomad’s exec2 task driver allows an attacker who can submit a task to read or modify any file on the client host as the Nomad process user. The flaw arises from insufficient validation of symlink targets, letting the task write through a symlink to overwrite system files or read sensitive data. This capability enables a compromise of confidentiality, integrity, and potentially availability of the client system.

Affected Systems

HashiCorp Nomad exec2 task driver versions before 0.1.2 are affected. The vulnerability applies to installations that use the exec2 driver within the Nomad agent’s shared library environment.

Risk and Exploitability

The vulnerability carries a CVSS base score of 6, indicating a medium severity. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalog. The likely attack scenario requires an attacker with the ability to submit or influence a task running on the client, which may occur if malicious or compromised workloads are authorized. Because the flaw is local to the Nomad task execution context, exploitability depends on the presence and configuration of the exec2 driver and the privileges of the Nomad process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install exec2 task driver version 0.1.2 or later.
  • Disable or remove the exec2 task driver from Nomad client configurations until the upgrade is complete.
  • Run the Nomad agent as a non‑privileged user and restrict task execution to the least privileges necessary.

Generated by OpenCVE AI on May 12, 2026 at 21:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wqwc-x3rc-2xw6 HashiCorp Nomad’s exec2 task driver vulnerable to a symlink attack
History
Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp shared Library
Vendors & Products Hashicorp
Hashicorp shared Library
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Nomad's exec2 task driver vulnerable to arbitrary file read/write on client host through symlink attack
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
May 12, 2026, 8:22 PM
Reserved
May 6, 2026, 6:39 PM
Status
Deferred
Published
May 12, 2026, 8:16 PM
Modified
Oct 26, 2026, 5:10 PM