---
id: CVE-2026-55102
title: >-
  hashi-vault-js is a Node.js module for interacting with the HashiCorp Vault
  API
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
  AxiosEr…
severity: medium
cvss: 5.8
cvssVector: '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'
cwe:
  - CWE-209
  - CWE-532
vendor: kyndryl-open-source
product: hashi-vault-js
affected:
  - hashi-vault-js < 0.5.2
patched:
  - hashi-vault-js 0.5.2
published: '2026-09-14'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T18:17:54.957'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55102'
references:
  - url: >-
      https://github.com/kyndryl-open-source/hashi-vault-js/commit/ed0797a2d09c1fe0fd20764dde66cbc29241d9fb
    label: security-advisories@github.com
  - url: 'https://github.com/kyndryl-open-source/hashi-vault-js/pull/67'
    label: security-advisories@github.com
  - url: 'https://github.com/kyndryl-open-source/hashi-vault-js/releases/tag/v0.5.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/kyndryl-open-source/hashi-vault-js/security/advisories/GHSA-5pq8-3ffp-7w5m
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-5pq8-3ffp-7w5m'
tags:
  - nvd
  - cve.org
  - ghsa
  - npm
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T17:18:47.130953Z'
cvssSource: cna
aliases:
  - GHSA-5pq8-3ffp-7w5m
ecosystem: npm
ingestedAt: '2026-08-13T15:03:46.105Z'
epss: 0.00161
epssPercentile: 0.0456
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55102)

Affected packages:

- `hashi-vault-js <= 0.5.1`

Patched in:

- `hashi-vault-js 0.5.2`

Source: https://github.com/advisories/GHSA-5pq8-3ffp-7w5m
