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

- Severity: Medium 5.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-08-13T14:14:32.000Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-5pq8-3ffp-7w5m
- Weaknesses: CWE-209, CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- kyndryl-open-source hashi-vault-js: < 0.5.2
- hashi-vault-js (npm): before 0.5.2

## Every score

- GitHub_M: CVSS:4.0 5.8 Medium `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`
- GitHub: rating Medium

## References

- <https://github.com/kyndryl-open-source/hashi-vault-js/security/advisories/GHSA-5pq8-3ffp-7w5m> (web)
- <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>
- <https://github.com/kyndryl-open-source/hashi-vault-js> (package)

## Sources

- CVE List: [CVE-2026-55102](https://www.cve.org/CVERecord?id=CVE-2026-55102), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-5pq8-3ffp-7w5m](https://github.com/advisories/GHSA-5pq8-3ffp-7w5m), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-55102](https://nvd.nist.gov/vuln/detail/CVE-2026-55102), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-55102 · Whole record: https://cve.day/CVE-2026-55102.json · Rebuilt by cve.day 2026-11-25T22:59:38.311Z
