Ferret is a declarative system for working with web data. Prior to 2.0.0-alpha.4, a path traversal vulnerability in Ferret's IO::FS::WRITE standard library function allows a malicious website to write arbitrary files to the filesystem of the machine running Ferret. When an operator scrapes a website that returns filenames containing ../ sequences, and uses those filenames to construct output paths (a standard scraping pattern), the attacker controls both the destination path and the file content. This can lead to remote code execution via cron jobs, SSH authorized_keys, shell profiles, or web shells. This vulnerability is fixed in 2.0.0-alpha.4.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/MontFerret/ferret/commit/160ebad6bd50f153453e120f6d909f5b83322917 Patch
- https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j Exploit, Mitigation, Vendor Advisory
- https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.1 · montferretNVD modified 2026-10-23 23:10
Affected (CPE criteria) 4
cpe:2.3:a:montferret:ferret:*:*:*:*:*:go:*:*cpe:2.3:a:montferret:ferret:2.0.0:alpha1:*:*:*:go:*:*cpe:2.3:a:montferret:ferret:2.0.0:alpha2:*:*:*:go:*:*cpe:2.3:a:montferret:ferret:2.0.0:alpha3:*:*:*:go:*:*
References 3
- https://github.com/MontFerret/ferret/commit/160ebad6bd50f153453e120f6d909f5b83322917 Patch
- https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j Exploit, Mitigation, Vendor Advisory
- https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j Exploit, Mitigation, Vendor Advisory