- Accueil
- Vulnérabilités
- CVE-2026-119298
CVE-2026-119298
croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Croc | Versions non précisées | — | CNA (éditeur ou attributeur) |
Go (12 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GO-2026-6958 — croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive in github.com/schollz/croc 23 nov. 2026
- GHSA-x89h-7h96-v88f — croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive 9 nov. 2026
Références
- https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88fx_refsource_CONFIRM
- https://github.com/schollz/croc/pull/1327x_refsource_MISC
- https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3x_refsource_MISC
- https://github.com/schollz/croc/releases/tag/v11.5.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-119298ADVISORY
- https://github.com/schollz/crocPACKAGE
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)