CVE-2026-55102
published medium CVSS 4.0 · 5.8hashi-vault-js: Vault token and secret values exposed in thrown errors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kyndryl-open-source | — | hashi-vault-js< 0.5.2 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kyndryl-open-source | hashi-vault-js | < 0.5.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information
- CWE-532 CWE-532: Insertion of Sensitive Information into Log File
References
4- https://github.com/kyndryl-open-source/hashi-vault-js/commit/ed0797a2d09c1fe0fd20764dde66cbc29241d9fb
- https://github.com/kyndryl-open-source/hashi-vault-js/pull/67
- https://github.com/kyndryl-open-source/hashi-vault-js/releases/tag/v0.5.2
- https://github.com/kyndryl-open-source/hashi-vault-js/security/advisories/GHSA-5pq8-3ffp-7w5m
Provider assertions
2GitHub_M · cna
hashi-vault-js: Vault token and secret values exposed in thrown errors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c20b876c938a0bb88f727b9fca8e11112eddbe7f8f3b0aad49eff779fe8f7866
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record