目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-119298— croc 接收端文件名绕过确认漏洞

一分钟漏洞结论

影响对象
schollz croc
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Croc 是一款允许任意两台计算机简单、安全地传输文件和文件夹的工具。在 11.5.2 版本之前, 中接收端的文件就绪循环会将任何由发送方控制、以 开头的文件名(basename)视为受信任的文本传输产物,即使 标志为 也是如此。这种行为会跳过 和重命名处理逻辑,导致接收方工作目录中出现可预测的精确文件名冲突。攻击者可利用此漏洞,在用户接受传输后,通过 覆盖或截断匹配的正则文件;或通过 移除并替换匹配的目的地文件,将其替换为空文件或指向目录内部的符号链接,且无需用户确认。该漏洞的影响范围仅限于发送方可预测的、位于

CVSS 4.2 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
schollz croc < 11.5.2 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-119298 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
schollz croc < 11.5.2 -

二、漏洞 CVE-2026-119298 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-119298 的情报信息

请登录查看更多情报信息。

CVE-2026-119298 补丁与修复 (2)

CVE-2026-119298 厂商安全公告 (1)

CVE-2026-119298 厂商页面 (1)

IV. Related Vulnerabilities