Skip to main content
VulnerabilityPublished

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

Affects hashi-vault-jsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-55102· Medium 5.8

Not known to be exploited · CVSS 5.8 Medium : upgrade to 0.5.2 when convenient.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade hashi-vault-js to 0.5.2.

Affected software

ProductAffectedFixed in
npmhashi-vault-jsAffected
  • <0.5.2
Fixed in
  • 0.5.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade hashi-vault-js to version 0.5.2 or later, where the issue is fixed. Avoid logging or exposing raw error objects that may contain sensitive Vault tokens or secrets. Review and sanitize error handling and logging practices to prevent sensitive data leakage.

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.

References

Community reviews

Loading reviews…