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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-209, CWE-532
- **Aliases:** GHSA-5pq8-3ffp-7w5m
- **Published:** 2026-08-13T14:14:32.000Z
- **Modified:** 2026-09-30T19:57:08.043Z

## Who should check

- Projects that depend on npm package hashi-vault-js (\< 0.5.2)
- Anyone running kyndryl-open-source hashi-vault-js \< 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.

## Affected and fixed versions

- npm `hashi-vault-js`: affected \< 0.5.2; fixed 0.5.2 (osv)
- kyndryl-open-source hashi-vault-js: \< 0.5.2 (cvelist)

## Mitigation

- Upgrade hashi-vault-js to 0.5.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55102. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55102.md
Affected: hashi-vault-js < 0.5.2
Fixed in: 0.5.2

Steps:
1. Search this machine and project for hashi-vault-js (npm), kyndryl-open-source hashi-vault-js: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55102 being exploited?

There is no confirmed exploitation: CVE-2026-55102 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55102?

Medium: CVSS 5.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-55102?

hashi-vault-js \< 0.5.2.

### Is there a fix for CVE-2026-55102?

Yes. Fixed in 0.5.2. Upgrade hashi-vault-js to 0.5.2 or later.

### How do I check if I'm affected by CVE-2026-55102?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55102>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5pq8-3ffp-7w5m> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55102> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55102>
