Skip to main content
← All vulnerabilities
CVE-2026-55102GHSA-5PQ8-3FFP-7W5M

hashi-vault-js: Vault token and secret values exposed in thrown errors

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

hashi-vault-js is a Node.js module for interacting with the HashiCorp Vault API. Prior to 0.5.2, every API method in src/Vault.js passes failed requests through parseAxiosError(), which rethrows the raw AxiosError while retaining AxiosError.config and the equivalent response configuration. These objects can contain the X-Vault-Token request header and err.config.data request body, including submitted passwords or secret values. When a consuming application records the caught exception through console logging, structured loggers, monitoring, crash reporting, or an application performance monitoring service, the live Vault token and request secrets can be stored in plaintext and exposed to anyone with access to that output. A stolen token can permit unauthorized access to the Vault instance under the token's policies. This issue is fixed in version 0.5.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • kyndryl-open-source hashi-vault-js

    fixed in 0.5.2

  • hashi-vault-jsnpm

    fixed in 0.5.2

References 4

GitHub · kyndryl-open-source/hashi-vault-js