{"id":"CVE-2026-119298","aliases":[],"cve":{"records":[{"id":"CVE-2026-119298","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-29T18:50:28.066Z","published":"2026-10-30T16:12:49.765Z","modified":"2026-10-30T18:35:53.606Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-30T16:12:49.765Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-30T18:35:53.606Z"}],"references":[{"url":"https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88f","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/schollz/croc/pull/1327","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/schollz/croc/releases/tag/v11.5.2","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-73","description":"CWE-73: External Control of File Name or Path","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-30T18:25:15.351502Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"croc: Overwrite-confirmation bypass via a crafted \"croc-stdin-\" filename on receive","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":4.2,"severity":"medium","published":"2026-10-30T16:12:49.765Z","modified":"2026-10-30T18:35:53.606Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"schollz","name":"croc","platforms":[],"versions":[{"version":"< 11.5.2","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-119298"}],"remediation":[],"references":["https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88f","https://github.com/schollz/croc/pull/1327","https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3","https://github.com/schollz/croc/releases/tag/v11.5.2"],"sources":[{"name":"CVE","id":"CVE-2026-119298","modified":"2026-10-30T18:35:53.606Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119298"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.2}],"sourceAffected":[],"observedAt":"2026-10-30T18:59:03.696Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T10:20:31.211Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"croc versions before 11.5.2 have a vulnerability where a remote sender can overwrite files without confirmation by using a crafted filename starting with 'croc-stdin-'. The impact is limited to predictable filenames in this namespace.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T10:11:07.328Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119298"}]}}