Menu

CVE-2026-119298: CVE-2026-119298: Overwrite Confirmation Bypass in schollz/croc via Unvalidated Text Artifact Prefix
📰

CVE-2026-119298: CVE-2026-119298: Overwrite Confirmation Bypass in schollz/croc via Unvalidated Text Artifact Prefix

DEV Community: cybersecurity·CVE Reports·6 days ago
#LZPb7S0r
#devtocybersecurity#devto#dev#croc#file
Reading 0:00
15s threshold

CVE-2026-119298: Overwrite Confirmation Bypass in schollz/croc via Unvalidated Text Artifact Prefix

Vulnerability ID: CVE-2026-119298

CVSS Score: 4.2

Published: 2026-11-09

CVE-2026-119298 (GHSA-x89h-7h96-v88f) is a file overwrite confirmation bypass vulnerability in schollz/croc prior to version 11.5.2. The receive-side file validation logic in src/croc/croc.go improperly exempted any incoming file whose basename began with the prefix 'croc-stdin-' from interactive overwrite prompts and automatic collision renaming, failing to verify if the transfer session was actually an internal text transfer. An unauthenticated remote peer participating in a transfer session can exploit this flaw to silently overwrite, truncate, or replace matching pre-existing files in the receiver's working directory.

TL;DR

Versions of the Go-based peer-to-peer file transfer utility croc prior to 11.5.2 trust sender-supplied filenames prefixed with 'croc-stdin-' during standard file transfers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.