{"id":"CVE-2026-119298","published":"2026-10-30T16:12:49Z","modified":"2026-10-30T18:35:53Z","title":"croc: Overwrite-confirmation bypass via a crafted \"croc-stdin-\" filename on receive","vendor":"schollz","product":"croc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00302,"percentile":0.23038,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/schollz/croc/pull/1327","tags":["x_refsource_MISC"]},{"url":"https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/schollz/croc/releases/tag/v11.5.2","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":4.61},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"schollz","affectedVersions":[{"vendor":"schollz","product":"croc","versions":["< 11.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T18:25:15.351502Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/schollz/croc/v11","vulnerableRanges":["<11.5.2"],"patched":["11.5.2"],"from":["GHSA-x89h-7h96-v88f","GO-2026-6958"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc/v10","vulnerableRanges":["<=10.7.0","all versions"],"patched":[],"from":["GHSA-x89h-7h96-v88f","GO-2026-6958"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc/v9","vulnerableRanges":["<=9.6.17","all versions"],"patched":[],"from":["GHSA-x89h-7h96-v88f","GO-2026-6958"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc/v8","vulnerableRanges":["<=8.6.12","all versions"],"patched":[],"from":["GHSA-x89h-7h96-v88f","GO-2026-6958"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc/v6","vulnerableRanges":["<=6.4.11","all versions"],"patched":[],"from":["GHSA-x89h-7h96-v88f","GO-2026-6958"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/schollz/croc","vulnerableRanges":["<=3.0.6","all versions"],"patched":[],"from":["GHSA-x89h-7h96-v88f","GO-2026-6958"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-114188","exploited":false,"provenance":"source"}}