Vulnérabilité dans hashi-vault-js (CVE-2026-55100)
Résumé
Vulnérabilité dans hashi-vault-js (CVE-2026-55100). Risque d'opérations non autorisées ou de divulgation. Exploitable via encodeURIComponent. Atténuation : mise à jour vers 0.5.2 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
The hashi-vault-js library is vulnerable to path traversal and query string injection due to the lack of proper encoding of identifiers in path segments and query strings. This allows attackers to manipulate the request URL and potentially access unintended downstream endpoints or inject malicious parameters if untrusted input is passed to the library.
Details
There are zero calls to encodeURIComponent anywhere in Vault.js. Every identifier (e.g., name, username, group, role, version) provided to the library is concatenated straight into the HTTP URL without URI encoding.
Two vectors can be dynamically confirmed:
- Path Traversal: Passing
../../sys/sealas a secret name causes the HTTP client to normalize the path and send the request to/v1/sys/sealinstead of the intended Key-Value path. - Query Injection: Passing
1&list=trueas a version value injects an extra query parameter into the request payload.
Impact
In applications where Vault identifiers originate from untrusted user input, this allows an unauthenticated attacker to redirect requests to unintended Vault endpoints (including administrative paths under sys/) or otherwise alter the executed query, executing operations within the permissions of the Vault token used by the application.
Patches
This vulnerability has been addressed by wrapping path segments with encodeURIComponent() and safely formatting query strings instead of manual string concatenation. Users s…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-55100 a été découverte dans hashi-vault-js.
Des attaquants peuvent cibler un point d'entrée spécifique comme encodeURIComponent à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour hashi-vault-js vers 0.5.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « hashi-vault-js CVE-2026-55100 » sur le site de l'éditeur.
CVE-2026-55100 (hashi-vault-js) — CWE-23
Surface d'attaque : encodeURIComponent / Vault.js
Correctif : 0.5.2 — appliquer immédiatement
Contournement : If you cannot immediately update the library, you can mitigate this issue by rigidly validating and sanitizing all user-supplied input before passing it into hashi-vault-js methods.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-23) affecte hashi-vault-js. Les attaquants atteignent le code vulnérable via encodeURIComponent.
Consultez l'avis de l'éditeur pour les versions affectées de hashi-vault-js. Surface d'attaque : encodeURIComponent / Vault.js.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 0.5.2.
Contournement : If you cannot immediately update the library, you can mitigate this issue by rigidly validating and sanitizing all user-supplied input before passing it into hashi-vault-js methods.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'hashi-vault-js' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
hashi-vault-jsを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
If you cannot immediately update the library, you can mitigate this issue by rigidly validating and sanitizing all user-supplied input before passing it into `hashi-vault-js` methods.パッチが適用されるまでの応急処置として、If you cannot immediately update the library, you can mitigate this issue by rigidly validating and sanitizing all user-supplied input before passing it into
hashi-vault-jsmethods. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade hashi-vault-js to 0.5.2ステージング環境で 0.5.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com