Overwrite confirmation bypass in croc through crafted filenames
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
croc versions before 11.5.2 from schollz are affected. The receiver treats any sender-supplied filename starting with croc-stdin- as a trusted text transfer, which skips the overwrite confirmation (CWE-73). A remote sender whose transfer the user accepts can overwrite, truncate or replace a predictable existing file with that name in the receive directory without a prompt. Other filenames still get the prompt.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade schollz croc to version 11.5.2, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA croc (schollz) Fixed in 11.5.2
Vendor assessments
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119298
- 2026-10-30 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More schollz vulnerabilities
- TI-2023-23348 An issue was discovered in Croc through 9.6.5. CVSS 3.1HIGH 7.8
- TI-2023-23347 An issue was discovered in Croc through 9.6.5. CVSS 3.1HIGH 7.8
- TI-2023-23346 An issue was discovered in Croc through 9.6.5. CVSS 3.1MEDIUM 5.3
- TI-2023-23345 An issue was discovered in Croc through 9.6.5. CVSS 3.1MEDIUM 5.3
- TI-2023-23349 An issue was discovered in Croc through 9.6.5. CVSS 3.1MEDIUM 4.7
- TI-2023-23344 An issue was discovered in Croc through 9.6.5. CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-119298 · CVE Program
- CVE-2026-119298 · NVD
- FIRST EPSS
- CVE-2026-119298 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences