# GO-2026-6958: croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive in github.com/schollz/croc

- Database: Go
- Published: 2026-11-23
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-119298](https://cve.now/CVE-2026-119298.md): croc overwrite confirmation bypass in file receive handling

## Also published as

- [GHSA-X89H-7H96-V88F](https://cve.now/GHSA-X89H-7H96-V88F.md) (GitHub)

## Affected versions

- github.com/schollz/croc (Go): all versions
- github.com/schollz/croc/v6 (Go): all versions
- github.com/schollz/croc/v8 (Go): all versions
- github.com/schollz/croc/v9 (Go): all versions
- github.com/schollz/croc/v10 (Go): all versions
- github.com/schollz/croc/v11 (Go): fixed in 11.5.2

## Description

croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive in github.com/schollz/croc

## References

- https://github.com/schollz/croc/security/advisories/GHSA-x89h-7h96-v88f
- https://nvd.nist.gov/vuln/detail/CVE-2026-119298
- https://github.com/schollz/croc/commit/25fe49b6f14db99f517e902cfef76299ad0a95a3
- https://github.com/schollz/croc/pull/1327
- https://github.com/schollz/croc/releases/tag/v11.5.2

Page: https://cve.now/GO-2026-6958

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
