CVE-2025-4674

Unexpected command execution in untrusted VCS repositories in cmd/go

En bref

Sévérité
HIGH 8.6
EPSS
EPSS 0.44 % · centile 38 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Go
Statut NVD
Analyzed

Description

The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via "go get", are not affected.

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.6CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 8.6CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Faiblesses (CWE)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Go toolchain · cmd/goaffected 0 < 1.23.11 ; affected 1.24.0-0 < 1.24.5

Références

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD