CVE-2022-24686: HashiCorp Nomad Artifact Download Race Condition

github.com/hashicorp/nomad Updated 02 Oct 2025

Summary

15/02/2022
Yes i
Moderate
5.9

CVE-2022-24686: HashiCorp Nomad Artifact Download Race Condition. Affects github.com/hashicorp/nomad across 3 version ranges.

>= 0.3.0, < 1.0.18 >= 1.1.0, < 1.1.12 >= 1.2.0, < 1.2.6

Fixed in 1.0.18, 1.1.12 or 1.2.6, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

HashiCorp Nomad is an open-source cluster manager and scheduler designed for deploying and managing applications across a distributed infrastructure. It is written in Go and provides a range of features to facilitate efficient workload management. However, Nomad versions 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 are vulnerable to a race condition in the artifact download functionality. This race condition can result in the Nomad client agent downloading the wrong artifact into the wrong destination.

Vulnerability Detail

The race condition in HashiCorp Nomad's artifact download functionality allows for the possibility of incorrect artifact downloads. This means that the Nomad client agent may retrieve and save an artifact to an unintended location, potentially leading to the execution of incorrect or malicious code. The vulnerability has a CVSS score of 5.9, indicating a moderate severity level. It was assigned the CVE identifier CVE-2022-24686 and is classified under CWE-362.

How To Fix

Latest published version: v1.11.3 as of 22 Oct 2026

go get github.com/hashicorp/nomad@v1.11.3

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 0.3.0, < 1.0.18 1.0.18
    go get github.com/hashicorp/nomad@v1.0.18
  • >= 1.1.0, < 1.1.12 1.1.12
    go get github.com/hashicorp/nomad@v1.1.12
  • >= 1.2.0, < 1.2.6 1.2.6
    go get github.com/hashicorp/nomad@v1.2.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided fix by upgrading to the patched versions of HashiCorp Nomad.

Conclusion

The race condition vulnerability in HashiCorp Nomad's artifact download functionality can lead to incorrect artifact downloads, potentially resulting in the execution of incorrect or malicious code. It is crucial to upgrade to the latest patched versions of HashiCorp Nomad (1.0.18, 1.1.12, or 1.2.6) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/hashicorp/nomad →

Share this vulnerability

FAQ

HashiCorp Nomad is an open-source cluster manager and scheduler used for deploying and managing applications across a distributed infrastructure.

Versions 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 of HashiCorp Nomad are affected by this vulnerability.

The vulnerability can result in the Nomad client agent downloading the wrong artifact into the wrong destination, potentially leading to the execution of incorrect or malicious code.

This vulnerability has a CVSS score of 5.9, indicating a moderate severity level.

To fix this vulnerability, it is recommended to upgrade to the latest patched versions of HashiCorp Nomad (1.0.18, 1.1.12, or 1.2.6).

Related vulnerabilities

Recent vulnerabilities recorded for github.com/hashicorp/nomad.

How To Fix

Latest published version: v1.11.3 as of 22 Oct 2026

go get github.com/hashicorp/nomad@v1.11.3

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 0.3.0, < 1.0.18 1.0.18
    go get github.com/hashicorp/nomad@v1.0.18
  • >= 1.1.0, < 1.1.12 1.1.12
    go get github.com/hashicorp/nomad@v1.1.12
  • >= 1.2.0, < 1.2.6 1.2.6
    go get github.com/hashicorp/nomad@v1.2.6

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback