CVE-2026-34783
Ferret: Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/MontFerret/ferret/v2 | < 2.0.0-alpha.4 | 2.0.0-alpha.4 |
| go | github.com/MontFerret/ferret | <= 0.18.1 | nicht erfasst |
Betroffene Produkte · Montferret
| Produkt | Betroffene Versionen |
|---|---|
| Ferret | vor 2.0.0 Version 2.0.0 |