CVE-2020-16250: Authentication Bypass in Hashicorp Vault

github.com/hashicorp/vault Updated 02 Oct 2025

Summary

02/08/2021
Yes i
High
8.2

CVE-2020-16250: Authentication Bypass by Spoofing and Insufficient Verification of Data Authenticity in Hashicorp Vault. Affects github.com/hashicorp/vault across 4 version ranges.

>= 0.8.1, < 1.2.5 >= 1.3.0, < 1.3.8 >= 1.4.0, < 1.4.4 >= 1.5.0, < 1.5.1

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-16250 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

HashiCorp Vault is a popular open-source tool used for securely storing and accessing sensitive data. It provides a centralized solution for managing secrets, encryption keys, and other credentials. The vulnerability identified as CVE-2020-16250 affects versions 0.7.1 and newer of HashiCorp Vault, specifically when configured with the AWS IAM auth method. This vulnerability allows for authentication bypass, potentially leading to unauthorized access to sensitive information stored in the Vault.

Vulnerability Detail

The vulnerability arises from a combination of spoofing and insufficient verification of data authenticity in HashiCorp Vault. By exploiting this flaw, an attacker can bypass the authentication mechanism and gain unauthorized access to the Vault. This can lead to the exposure of sensitive data, compromise of encryption keys, and unauthorized modification of stored secrets. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

How To Fix

Latest published version: v1.21.4 as of 23 Oct 2026

go get github.com/hashicorp/vault@v1.21.4

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.8.1, < 1.2.5 1.2.5
    go get github.com/hashicorp/vault@v1.2.5
  • >= 1.3.0, < 1.3.8 1.3.8
    go get github.com/hashicorp/vault@v1.3.8
  • >= 1.4.0, < 1.4.4 1.4.4
    go get github.com/hashicorp/vault@v1.4.4
  • >= 1.5.0, < 1.5.1 1.5.1
    go get github.com/hashicorp/vault@v1.5.1

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 Vault.

Conclusion

The authentication bypass vulnerability in HashiCorp Vault poses a significant risk to the security of sensitive data stored in the Vault. It is crucial to upgrade to the latest patched versions (1.2.5, 1.3.8, 1.4.4, or 1.5.1) to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

HashiCorp Vault is an open-source tool used for securely storing and accessing sensitive data, such as secrets, encryption keys, and credentials.

The vulnerability allows for authentication bypass, potentially leading to unauthorized access to sensitive information stored in HashiCorp Vault. This can result in the exposure of sensitive data, compromise of encryption keys, and unauthorized modification of stored secrets.

Versions 0.7.1 and newer of HashiCorp Vault are affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade to the latest patched versions of HashiCorp Vault (1.2.5, 1.3.8, 1.4.4, or 1.5.1).

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

Related vulnerabilities

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

How To Fix

Latest published version: v1.21.4 as of 23 Oct 2026

go get github.com/hashicorp/vault@v1.21.4

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.8.1, < 1.2.5 1.2.5
    go get github.com/hashicorp/vault@v1.2.5
  • >= 1.3.0, < 1.3.8 1.3.8
    go get github.com/hashicorp/vault@v1.3.8
  • >= 1.4.0, < 1.4.4 1.4.4
    go get github.com/hashicorp/vault@v1.4.4
  • >= 1.5.0, < 1.5.1 1.5.1
    go get github.com/hashicorp/vault@v1.5.1

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