CVE-2026-55100

hashi-vault-js has a path traversal and query parameter injection

Published Jul 31, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-23

    Relative Path Traversal

  • CWE-74

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 31, 2026, 7:57 PM
Reserved
Jun 16, 2026, 2:41 PM
Status
Awaiting Analysis
Published
Jul 31, 2026, 6:17 PM
Modified
Oct 23, 2026, 11:10 PM