CVE-2026-119298croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive
- 4.2MediumCVSS base score
- 0.30%Exploitation in 30 daysEPSS · top 77% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 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.
Timeline
ID reserved
By GitHub_M
- 1 day later
· 1 day later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L |
| NVDNVD · Deferred | 3.1 | Medium4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L |
- EPSS (exploitation in 30 days)
- 0.30% · top 77% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.2.
Affected products
Affected packages
Affected packages6
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/schollz/crocGHSA-x89h-7h96-v88f (opens in a new tab)
- Gogithub.com/schollz/croc/v10GHSA-x89h-7h96-v88f (opens in a new tab)
- Gogithub.com/schollz/croc/v11GHSA-x89h-7h96-v88f (opens in a new tab)
- Gogithub.com/schollz/croc/v6GHSA-x89h-7h96-v88f (opens in a new tab)
- Gogithub.com/schollz/croc/v8GHSA-x89h-7h96-v88f (opens in a new tab)
- Gogithub.com/schollz/croc/v9GHSA-x89h-7h96-v88f (opens in a new tab)
References
References4
- https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88f (opens in a new tab)x_refsource_CONFIRM
- https://github.com/schollz/croc/pull/1327 (opens in a new tab)x_refsource_MISC
- https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3 (opens in a new tab)x_refsource_MISC
- https://github.com/schollz/croc/releases/tag/v11.5.2 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-114188 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x89h-7h96-v88f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-119298)Record last updated .