hashi-vault-js: Vault token and secret values exposed in thrown errors
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-209.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kyndryl-open-source | hashi-vault-js | before 0.5.2 | 0.5.2 | Patch available | CNA |
| — | hashi-vault-js (npm) | before 0.5.2 | 0.5.2 | Patch available | GHSA-5pq8-3ffp-7w5m |
- hashi-vault-js Vendorkyndryl-open-source Affected before 0.5.2 Fixed in 0.5.2 Patch available CNA
- hashi-vault-js (npm) Vendor— Affected before 0.5.2 Fixed in 0.5.2 Patch available GHSA-5pq8-3ffp-7w5m
Remediation
- Fix · CNA hashi-vault-js (kyndryl-open-source) Fixed in 0.5.2
- Fix · GHSA-5pq8-3ffp-7w5m hashi-vault-js (npm) Fixed in 0.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55102
- 2026-10-03 Alias added: GHSA-5pq8-3ffp-7w5m
References
Other 5
- 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
- https://github.com/kyndryl-open-source/hashi-vault-js
More kyndryl-open-source vulnerabilities
- TI-2026-39802 hashi-vault-js has a path traversal and query parameter injection CVSS 4.0HIGH 8.7
Sources
- CVE-2026-55102 · CVE Program
- CVE-2026-55102 · NVD
- FIRST EPSS
- GHSA-5pq8-3ffp-7w5m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences