CVE-2021-43837: vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault
CVE-2021-43837 is a high-severity flaw (CVSS 8.4) affecting vault-cli. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. In versions before 3.0.0 vault-cli features the ability for rendering templated values. When a secret starts with the prefix `!template!`, vault-cli interprets the rest of the contents of the secret as a Jinja2 template. Jinja2 is a powerful templating engine and is not designed to safely render arbitrary templates. An attacker controlli
Why this priority
- High severity
- EPSS top 8%: very likely to be exploited
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-43837?
vault-cli: upgrade to 3.0.0. Exact commands for each OS are on this page.
Is CVE-2021-43837 being exploited?
CVE-2021-43837 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-43837 affect?
CVE-2021-43837 affects vault-cli. Severity is high (CVSS 8.4). vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. In versions before 3.0.0 vault-cli features the ability for rendering templated values. When a secret starts with the prefix `!te
How urgent is CVE-2021-43837?
Priority 58/100. High severity; EPSS top 8%: very likely to be exploited; Public exploit reference
Software pages
Python vulnerabilities · HashiCorp Vault vulnerabilities