1. Accueil
  2. Vulnérabilités
  3. CVE-2026-119298

CVE-2026-119298

croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive

Publiée le 30 oct. 2026 · modifiée le 30 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 26/100

Résumé

croc is a tool that allows any two computers to simply and securely transfer files and folders. Prior to 11.5.2, the receive-side file-readiness loop in src/croc/croc.go treats any sender-controlled basename beginning with croc-stdin- as a trusted text-transfer artifact even when SendingText is false. This skips askReceiveOverwrite and rename handling for a predictable exact-name collision in the receiver's working directory, allowing a remote sender whose transfer the user accepts to overwrite or truncate a matching regular file through recipientInitializeFile, or to remove and replace a matching destination with an empty file or an in-directory symlink through createEmptyFileAndFinish, without confirmation. The impact is limited to pre-existing names in the croc-stdin- namespace that the sender can predict; other filenames retain the prompt, dotfiles outside that namespace are not reachable, and symlink targets remain confined to the receive directory. This issue is fixed in version 11.5.2.

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

Produits et versions affectés

Schollz (1 ligne(s))
Schollz
ProduitVersionsCorrigé dansSource
Croc Versions non précisées — CNA (éditeur ou attributeur)
Go (12 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/schollz/croc jusqu’à 3.0.6 (inclus) — GitHub Advisory
github.com/schollz/croc Versions non précisées — OSV
github.com/schollz/croc/v10 jusqu’à 10.7.0 (inclus) — GitHub Advisory
github.com/schollz/croc/v10 Versions non précisées — OSV
github.com/schollz/croc/v11 avant 11.5.2 (exclu) 11.5.2 GitHub Advisory
github.com/schollz/croc/v11 avant 11.5.2 (exclu) 11.5.2 OSV
github.com/schollz/croc/v6 jusqu’à 6.4.11 (inclus) — GitHub Advisory
github.com/schollz/croc/v6 Versions non précisées — OSV
github.com/schollz/croc/v8 jusqu’à 8.6.12 (inclus) — GitHub Advisory
github.com/schollz/croc/v8 Versions non précisées — OSV
github.com/schollz/croc/v9 jusqu’à 9.6.17 (inclus) — GitHub Advisory
github.com/schollz/croc/v9 Versions non précisées — OSV

Correctif

Mise à jour — Go/github.com/schollz/croc/v11 11.5.2source officielle

Source : GitHub Advisory

Mise à jour — Go/github.com/schollz/croc/v11 11.5.2source 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)

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:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-73 · Autre (CWE-73)

Comment sont obtenues et calculées ces données