Description
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.
Affected products
montferret: ferret
References3
- github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h… ExploitMitigationVendor Advisory
- github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h… ExploitMitigationVendor Advisory
- github.com/MontFerret/ferret/commit/160ebad6bd50f153453e120f6d9… Patch
Metrics
- CVSS 3.1
-
8.1
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H - EPSS — exploit probability
- 1% percentile: 45 · as of 12 November 2026
- CWE
- CWE-22CWE-73
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.