CVE-2020-27195: Use After Free in HashiCorp Nomad

github.com/hashicorp/nomad Updated 02 Oct 2025

Summary

15/02/2022
Yes i
Critical
9.1

CVE-2020-27195: Use After Free in HashiCorp Nomad. Affects github.com/hashicorp/nomad across 3 version ranges.

>= 0.9.0, < 0.10.6 >= 0.11.0, < 0.11.5 >= 0.12.0, < 0.12.6

Fixed in 0.10.6, 0.11.5 or 0.12.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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

HashiCorp Nomad is an open-source cluster manager and scheduler designed for microservices and batch workloads. It provides a platform for deploying and managing applications across a distributed infrastructure. The client file sandbox feature in Nomad versions 0.9.0 up to 0.12.5 is vulnerable to a use-after-free issue. This vulnerability can be exploited through the template or artifact stanzas.

Vulnerability Detail

The use-after-free vulnerability in HashiCorp Nomad allows an attacker to manipulate memory after it has been freed, potentially leading to arbitrary code execution or a denial of service. By exploiting this vulnerability, an attacker can subvert the client file sandbox feature, compromising the security and integrity of the system. The vulnerability has a CVSS score of 7.1, indicating a critical severity level.

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.9.0, < 0.10.6 0.10.6
    go get github.com/hashicorp/nomad@v0.10.6
  • >= 0.11.0, < 0.11.5 0.11.5
    go get github.com/hashicorp/nomad@v0.11.5
  • >= 0.12.0, < 0.12.6 0.12.6
    go get github.com/hashicorp/nomad@v0.12.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 recommended fix by upgrading to the patched versions of HashiCorp Nomad.

Conclusion

The use-after-free vulnerability in HashiCorp Nomad poses a critical security risk. It is crucial to upgrade to the latest patched versions of Nomad (0.12.6, 0.11.5, or 0.10.6) to mitigate this vulnerability. Failure to address this issue may result in arbitrary code execution or a denial of service. 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 designed for microservices and batch workloads. It provides a platform for deploying and managing applications across a distributed infrastructure.

This vulnerability allows an attacker to subvert the client file sandbox feature in HashiCorp Nomad, potentially leading to arbitrary code execution or a denial of service. It compromises the security and integrity of the system.

To fix this vulnerability, it is recommended to upgrade to the latest patched versions of HashiCorp Nomad. Upgrade to version 0.12.6, 0.11.5, or 0.10.6, depending on the version currently in use.

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

This vulnerability has a CVSS score of 7.1, indicating a critical severity level.

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.9.0, < 0.10.6 0.10.6
    go get github.com/hashicorp/nomad@v0.10.6
  • >= 0.11.0, < 0.11.5 0.11.5
    go get github.com/hashicorp/nomad@v0.11.5
  • >= 0.12.0, < 0.12.6 0.12.6
    go get github.com/hashicorp/nomad@v0.12.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