CVE-2019-14802
Hashicorp Nomad Information Exposure Through Environmental Variables
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
- Record
CVE-2019-14802- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List
5.3
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
- Record
CVE-2019-14802- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
EUVDEUVD-2022-0861
5.3
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
- Record
EUVD-2022-0861- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-6hv3-7c34-4hx8
5.3
Hashicorp Nomad Information Exposure Through Environmental Variables
In Nomad before version 0.9.5, when rendering a task template, all environment variables were available to the rendering task. As a fix, only task environment variables are used.
- Record
GHSA-6hv3-7c34-4hx8- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-526
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-14802
5.3
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
- Record
ALPINE-CVE-2019-14802- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-03
OSV
5.3
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
- Record
CVE-2019-14802- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-6hv3-7c34-4hx8
5.3
Hashicorp Nomad Information Exposure Through Environmental Variables
In Nomad before version 0.9.5, when rendering a task template, all environment variables were available to the rendering task. As a fix, only task environment variables are used.
- Record
GHSA-6hv3-7c34-4hx8- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-526
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-14802
5.3
HashiCorp Nomad 0.5.0 through 0.9.4 (fixed in 0.9.5) reveals unintended environment variables to the rendering task during template rendering, aka GHSA-6hv3-7c34-4hx8. This applies to nomad/client/allocrunner/taskrunner/template.
- Record
UBUNTU-CVE-2019-14802- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGO-2022-0634 No score
Hashicorp Nomad Information Exposure Through Environmental Variables in github.com/hashicorp/nomad
Hashicorp Nomad Information Exposure Through Environmental Variables in github.com/hashicorp/nomad
- Record
GO-2022-0634- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/hashicorp/nomadGo |
before 0.9.5 | 0.9.5 |
nomadAlpine:v3.13 |
0.5.0 up to 0.9.5-r0 | 0.9.5-r0 |
nomadAlpine:v3.14 |
0.5.0 up to 0.9.5-r0 | 0.9.5-r0 |
nomadAlpine:v3.15 |
0.5.0 up to 0.9.5-r0 | 0.9.5-r0 |
nomadAlpine:v3.16 |
0.5.0 up to 0.9.5-r0 | 0.9.5-r0 |
nomadAlpine:v3.17 |
0.5.0 up to 0.9.5-r0 | 0.9.5-r0 |
nomadAlpine:v3.18 |
0.5.0 up to 0.9.5-r0 | 0.9.5-r0 |
nomadUbuntu:18.04:LTS |
All versions, plus listed versions 0.4.0+dfsg-1 |
None known |
nomadUbuntu:20.04:LTS |
All versions, plus listed versions 0.8.7+dfsg1-1ubuntu1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-14802 is a medium vulnerability (CVSS 5.3) in Hashicorp Nomad, published February 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.63%, the 50th percentile. Fixed in github.com/hashicorp/nomad 0.9.5.
References
hashicorp.com/blog/category/nomad
advisories.gitlab.com/advisory/advgo_github_com_hashicorp_nomad_client_allocrunner_taskrunner_template_GMS_2022_818.html
github.com/hashicorp/nomad/pull/6055
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14802
github.com/hashicorp/nomad/releases/tag/v0.9.5
nvd.nist.gov/vuln/detail/CVE-2019-14802