Vulnérabilité dans github.com/modelcontextprotocol/go-sdk (CVE-2026-34742)
Résumé
Vulnérabilité dans github.com/modelcontextprotocol/go-sdk (CVE-2026-34742). Des informations confidentielles peuvent être exposées. Exploitable via StreamableHTTPHandler. Atténuation : mise à jour vers 1.4.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.0, the Model Context Protocol (MCP) Go SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPHandler or SSEHandler, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. This issue has been patched in version 1.4.0.
Source: NIST National Vulnerability Database 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-34742 a été découverte dans github.com/modelcontextprotocol/go-sdk.
Des attaquants peuvent cibler un point d'entrée spécifique comme StreamableHTTPHandler à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 8.1/10.
Action : mettez à jour github.com/modelcontextprotocol/go-sdk vers 1.4.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/modelcontextprotocol/go-sdk CVE-2026-34742 » sur le site de l'éditeur.
CVE-2026-34742 (github.com/modelcontextprotocol/go-sdk) — CWE-1188 / CVSS v3 8.1
Vecteur d'attaque : distant (réseau) / non authentifié
Surface d'attaque : StreamableHTTPHandler / SSEHandler / localhost
Correctif : 1.4.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.
Une vulnérabilité (CWE-1188) affecte github.com/modelcontextprotocol/go-sdk. Les attaquants atteignent le code vulnérable via StreamableHTTPHandler sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/modelcontextprotocol/go-sdk. Surface d'attaque : StreamableHTTPHandler / SSEHandler / localhost.
Gravité : Élevée (CVSS 8.1/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 1.4.0.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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 'github.com/modelcontextprotocol/go-sdk' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/modelcontextprotocol/go-sdkを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/modelcontextprotocol/go-sdk to 1.4.0ステージング環境で 1.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory github.com
- advisory access.redhat.com
- advisory access.redhat.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- report bugzilla.redhat.com
- web github.com
- web security.access.redhat.com
- web github.com