1. Accueil
  2. Vulnérabilités
  3. CVE-2025-68119

CVE-2025-68119

Unexpected code execution when invoking toolchain in cmd/go

Publiée le 28 janv. 2026 · modifiée le 23 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 36/100

Résumé

Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Go toolchain (2 ligne(s))
Go toolchain
ProduitVersionsCorrigé dansSource
cmd/go avant 1.24.13 (exclu) — CNA (éditeur ou attributeur)
cmd/go de 1.25.0 (inclus) à 1.25.6 (exclu) — CNA (éditeur ou attributeur)
Go (2 ligne(s))
Go
ProduitVersionsCorrigé dansSource
toolchain avant 1.24.13 (exclu) 1.24.13 OSV
toolchain de 1.25.0 (inclus) à 1.25.6 (exclu) 1.25.6 OSV
Golang (2 ligne(s))
Golang
ProduitVersionsCorrigé dansSource
Go avant 1.24.12 (exclu) — NVD
Go de 1.25.0 (inclus) à 1.25.6 (exclu) — NVD

Correctif

Mise à jour — Go/toolchain 1.24.13; Go/toolchain 1.25.6source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1366)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1576)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données