CVE-2020-27195: Use After Free in HashiCorp Nomad
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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.60.10.6go get github.com/hashicorp/nomad@v0.10.6 -
>= 0.11.0, < 0.11.50.11.5go get github.com/hashicorp/nomad@v0.11.5 -
>= 0.12.0, < 0.12.60.12.6go 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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/hashicorp/nomad.