{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-119298","id":"CVE-2026-119298","title":"croc file overwrite in receive-side text transfer handling","description":"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 ","descriptionLong":"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.","published":"2026-10-30T16:12:49.765Z","updated":"2026-11-01T02:47:27.964947349Z","reserved":"2026-10-29T18:50:28.066Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["schollz croc"],"affectedProducts":[{"vendor":"schollz","product":"croc","defaultStatus":null,"versions":[{"version":"< 11.5.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/schollz/croc/v11","purl":"pkg:golang/github.com/schollz/croc/v11","ranges":["<11.5.2"],"fixed":["11.5.2"],"advisory":"GHSA-x89h-7h96-v88f"},{"ecosystem":"Go","name":"github.com/schollz/croc/v10","purl":"pkg:golang/github.com/schollz/croc/v10","ranges":["<=10.7.0"],"fixed":[],"advisory":"GHSA-x89h-7h96-v88f"},{"ecosystem":"Go","name":"github.com/schollz/croc/v9","purl":"pkg:golang/github.com/schollz/croc/v9","ranges":["<=9.6.17"],"fixed":[],"advisory":"GHSA-x89h-7h96-v88f"},{"ecosystem":"Go","name":"github.com/schollz/croc/v8","purl":"pkg:golang/github.com/schollz/croc/v8","ranges":["<=8.6.12"],"fixed":[],"advisory":"GHSA-x89h-7h96-v88f"},{"ecosystem":"Go","name":"github.com/schollz/croc/v6","purl":"pkg:golang/github.com/schollz/croc/v6","ranges":["<=6.4.11"],"fixed":[],"advisory":"GHSA-x89h-7h96-v88f"},{"ecosystem":"Go","name":"github.com/schollz/croc","purl":"pkg:golang/github.com/schollz/croc","ranges":["<=3.0.6"],"fixed":[],"advisory":"GHSA-x89h-7h96-v88f"}],"cwes":["CWE-73"],"aliases":["GHSA-x89h-7h96-v88f"],"references":[{"url":"https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88f","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/schollz/croc/pull/1327","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/schollz/croc/releases/tag/v11.5.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119298.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119298","tags":["advisory"]},{"url":"https://github.com/schollz/croc","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00302,"epssPercentile":0.23336,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-119298","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119298","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-119298","ok":true,"note":"6 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x89h-7h96-v88f","ok":true,"note":"GHSA-x89h-7h96-v88f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-119298","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":["chrome"],"critical":[],"attention":null}