<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cve-2026-55100 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2026-55100/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 31 Jul 2026 19:29:29 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2026-55100/feed.xml" rel="self" type="application/rss+xml"/><item><title>Path Traversal and Query Injection in hashi-vault-js</title><link>https://feed.craftedsignal.io/briefs/2026-07-hashi-vault-js-traversal/</link><pubDate>Fri, 31 Jul 2026 19:29:29 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-hashi-vault-js-traversal/</guid><description>The hashi-vault-js library is vulnerable to path traversal and query injection due to insufficient URI encoding, potentially allowing attackers to redirect administrative Vault requests if untrusted input is passed to the library.</description><content:encoded><![CDATA[<p>The npm package <code>hashi-vault-js</code> (versions 0.5.1 and earlier) contains critical flaws in how it constructs HTTP requests for the HashiCorp Vault API. The library fails to perform URI encoding on identifier parameters, such as secret names, versions, or group names, before concatenating them into request strings.</p>
<p>This implementation error allows two distinct exploitation vectors: Path Traversal and Query Parameter Injection. An attacker capable of influencing the input provided to these methods can force the client to target arbitrary Vault API endpoints, including sensitive administrative paths prefixed with <code>/sys/</code>. If the application uses a token with high-privileged permissions, an attacker may be able to perform unauthorized administrative actions, such as unsealing the vault or modifying system configurations, depending on the scope of the token assigned to the vulnerable application.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The application consumes user-supplied input (e.g., from a URL parameter, form field, or API request).</li>
<li>The application passes this untrusted input into a <code>hashi-vault-js</code> method (e.g., secret retrieval or versioning).</li>
<li>The <code>hashi-vault-js</code> library concatenates the raw input directly into the destination URL string without sanitization.</li>
<li>The attacker provides a payload such as <code>../../sys/seal</code> to trigger a path traversal or <code>1&amp;list=true</code> for query injection.</li>
<li>The library's HTTP client normalizes the resulting malicious URL path or query string.</li>
<li>The client transmits the request to an unintended administrative Vault API endpoint.</li>
<li>The Vault server processes the request within the context of the application's authenticated session token.</li>
<li>The attacker achieves unauthorized read/write or configuration operations depending on the token's configured policy.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows unauthorized interaction with the Vault server. By redirecting requests to administrative endpoints, an attacker can bypass intended logic, potentially leading to unauthorized data exposure, configuration modification, or service disruption. The impact is primarily constrained by the policy permissions associated with the service account token used by the vulnerable application.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Update <code>hashi-vault-js</code> to a patched version that implements <code>encodeURIComponent</code> for all path segments and query parameters.</li>
<li>Audit all application code that utilizes <code>hashi-vault-js</code> to ensure that any variable input passed to the library is validated against a strict allowlist.</li>
<li>As an immediate temporary workaround, manually sanitize and encode all user-supplied variables using <code>encodeURIComponent()</code> before passing them to the library's methods.</li>
<li>Ensure that the Vault tokens assigned to applications follow the principle of least privilege, minimizing the damage potential if the application is compromised via these injection vectors.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>web-application</category><category>injection</category><category>path-traversal</category><category>npm</category><category>cve-2026-55100</category></item></channel></rss>