Description
hashi-vault-js is a Node.js module for interacting with the HashiCorp Vault API. Prior to 0.5.2, src/Vault.js concatenates unencoded identifier values including name, username, group, role, and version into Vault request paths and query strings instead of using encodeURIComponent() and URLSearchParams, allowing path traversal and query parameter injection. This issue is fixed in version 0.5.2.
Published: 2026-07-31
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The hashi-vault-js module concatenates user‑supplied identifiers directly into Vault request paths and query strings without proper encoding, enabling path traversal and query parameter injection. An attacker who can influence these identifiers can direct the module to call arbitrary Vault paths, potentially reading secrets beyond the intended scope or altering query parameters to manipulate the Vault API response. This flaw can lead to confidentiality breaches and may give attackers the ability to execute privileged operations within the Vault system.

Affected Systems

Kyndryl Open Source releases of hashi-vault-js prior to version 0.5.2 are affected. The vulnerability exists in the source file Vault.js where lengths of names, usernames, groups, roles, and versions are inserted into request strings without encodeURIComponent or URLSearchParams handling. Updating to v0.5.2 or later resolves the issue.

Risk and Exploitability

The CVSS score of 8.7 reflects high severity, but the EPSS score is below 1%, indicating that, as of now, exploitation is unlikely. The flaw is not catalogued in the CISA KEV list. The attack path requires the attacker to supply or manipulate input that is passed to the module, which is common in applications that dynamically construct Vault requests. Consequently, the risk is highest for deployments that expose user input to the module without prior sanitization. Monitoring for any exploitation attempts and applying the patch promptly mitigates the risk.

Generated by OpenCVE AI on August 2, 2026 at 04:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade hashi-vault-js to version 0.5.2 or later, where path and query parameters are correctly encoded and the vulnerability is fixed.
  • Ensure that any user‑controlled data passed to the module is validated and sanitized before being supplied to the Vault API to prevent path traversal or injection.
  • Apply the principle of least privilege to Vault roles and limits, so that even if an attacker gains access, the scope of their impact is minimized.

Generated by OpenCVE AI on August 2, 2026 at 04:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g956-2f74-rmv7 hashi-vault-js has a path traversal and query parameter injection
History

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Kyndryl-open-source
Kyndryl-open-source hashi-vault-js
Vendors & Products Kyndryl-open-source
Kyndryl-open-source hashi-vault-js

Fri, 31 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Description hashi-vault-js is a Node.js module for interacting with the HashiCorp Vault API. Prior to 0.5.2, src/Vault.js concatenates unencoded identifier values including name, username, group, role, and version into Vault request paths and query strings instead of using encodeURIComponent() and URLSearchParams, allowing path traversal and query parameter injection. This issue is fixed in version 0.5.2.
Title hashi-vault-js has a path traversal and query parameter injection
Weaknesses CWE-23
CWE-74
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Kyndryl-open-source Hashi-vault-js
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T19:57:01.760Z

Reserved: 2026-06-16T14:41:54.579Z

Link: CVE-2026-55100

cve-icon Vulnrichment

Updated: 2026-07-31T19:56:55.381Z

cve-icon NVD

Status : Received

Published: 2026-07-31T18:17:17.480

Modified: 2026-07-31T20:16:51.993

Link: CVE-2026-55100

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T20:32:34Z

Weaknesses
  • CWE-23

    Relative Path Traversal

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')