← Retour
CVE-2026-55677
high
CVSS 7.5
Traversée de chemin dans github.com/labstack/echo/v5 (CVE-2026-55677)
Résumé
traversée de chemin dans github.com/labstack/echo/v5 (CVE-2026-55677). Des informations confidentielles peuvent être exposées. Exploitable via ``StaticDirectoryHandler``. Atténuation : mise à jour vers `5.2.0` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **CVE-2026-55677** a été découverte dans github.com/labstack/echo/v5.
Des attaquants peuvent cibler un point d'entrée spécifique comme ``StaticDirectoryHandler`` à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.5/10.
Action : mettez à jour github.com/labstack/echo/v5 vers **5.2.0** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/labstack/echo/v5 CVE-2026-55677 » sur le site de l'éditeur.
CVE-2026-55677 (github.com/labstack/echo/v5) — CWE-22 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : `StaticDirectoryHandler` / `router.go` / `req.URL.RawPath` / `useEscapedPathForRouting`
Correctif : `5.2.0` — appliquer immédiatement
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.
❓ Quel est le problème
Une **traversée de chemin** (CWE-22) affecte github.com/labstack/echo/v5. Les attaquants atteignent le code vulnérable via ``StaticDirectoryHandler`` sans authentification.
📍 Périmètre concerné
github.com/labstack/echo/v5 — . Surface d'attaque : `StaticDirectoryHandler` / `router.go` / `req.URL.RawPath` / `useEscapedPathForRouting`.
🔥 Gravité
Gravité : Élevée (CVSS 7.5/10). Des informations confidentielles peuvent être exposées
🔧 Comment corriger
Mettre à jour vers **5.2.0**.
🛡️ Contournement
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
🔍 Détection
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'github.com/labstack/echo/v5' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `github.com/labstack/echo/v5` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade github.com/labstack/echo/v5 to 5.2.0ステージング環境で 5.2.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
go
github.com/labstack/echo/v5
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0"}]}]
go
github.com/labstack/echo/v4
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.15.3"}]}]
go
github.com/labstack/echo
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Références
- web https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq
- web https://nvd.nist.gov/vuln/detail/CVE-2026-55677
- web https://github.com/labstack/echo/pull/3009
- web https://github.com/labstack/echo/pull/3011
- web https://github.com/labstack/echo/commit/8d1ae9d3360a71672418856d58753af25f2c3986
- web https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725
- web https://github.com/labstack/echo/releases/tag/v4.15.3
- web https://github.com/labstack/echo/releases/tag/v5.2.0
- web https://github.com/advisories/GHSA-vfp3-v2gw-7wfq