CVE-2026-55102
hashi-vault-js: Vault token and secret values exposed in thrown errors
Also known as GHSA-5pq8-3ffp-7w5m
Mitigation
- Upgrade hashi-vault-js to 0.5.2 or later.
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
Vulnerability facts
- Affected
- hashi-vault-js < 0.5.2
- Fixed in
- 0.5.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-209, CWE-532
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm hashi-vault-js | < 0.5.2 | 0.5.2 | osv |
| kyndryl-open-source hashi-vault-js | < 0.5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
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.