CVE-2025-6014: Vault TOTP Secrets Engine Code Reuse

Published Aug 1, 2025
·
Updated

Vault and Vault Enterprise’s (“Vault”) TOTP Secrets Engine code validation endpoint is susceptible to code reuse within its validity period. Fixed in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.

Affected Software

8 affected componentsFixes available
HashiCorp Vault Community Edition<1.20.1
HashiCorp Vault Enterprise>=1.16.23<=1.20.1
go/github.com/hashicorp/vault<1.20.1
1.20.1
HashiCorp Vault<1.16.23
HashiCorp Vault<1.20.1
HashiCorp Vault>=1.17.0<1.18.12
HashiCorp Vault>=1.19.0<1.19.7
HashiCorp Vault=1.20.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/hashicorp/vault to a version that resolves this vulnerability.

    Fixed in 1.20.1
  2. Upgrade

    Upgrade HashiCorp Vault (Community Edition/Enterprise) to a version that resolves this vulnerability.

    Fixed in 1.16.23
  3. Upgrade

    Upgrade HashiCorp Vault (Community Edition/Enterprise) to a version that resolves this vulnerability.

    Fixed in 1.18.12
  4. Upgrade

    Upgrade HashiCorp Vault (Community Edition/Enterprise) to a version that resolves this vulnerability.

    Fixed in 1.19.7
  5. Upgrade

    Upgrade HashiCorp Vault (Community Edition/Enterprise) to a version that resolves this vulnerability.

    Fixed in 1.20.1

Event History

Aug 1, 2025
CVE Published
via MITRE·05:50 PM
Data Sourced
via MITRE·05:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6014?

CVE-2025-6014 has been rated as a high severity vulnerability due to its potential for code reuse within its validity period.

2

How do I fix CVE-2025-6014?

To fix CVE-2025-6014, update to Vault Community Edition 1.20.1 or Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, or 1.16.23.

3

Which versions of HashiCorp Vault are affected by CVE-2025-6014?

CVE-2025-6014 affects Vault Community Edition versions below 1.20.1 and Vault Enterprise versions between 1.16.23 and 1.20.1.

4

What are the implications of CVE-2025-6014 for users of HashiCorp Vault?

Users of HashiCorp Vault may experience unauthorized access to sensitive TOTP secrets due to code reuse vulnerability.

5

Are there any workarounds for CVE-2025-6014 if I cannot update my Vault version?

There are no official workarounds available for CVE-2025-6014; updating to the patched versions is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203