CVE-2026-34783 Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MontFerret ferret | < 2.0.0; = 2.0.0-alpha1; = 2.0.0-alpha2; = 2.0.0-alpha3 +1 more | 2.0.0 | Fixed |
| MontFerret ferret(Go) | < 2.0.0-alpha.4; <= 0.18.1 | 2.0.0-alpha.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MontFerret ferret | = < 2.0.0-alpha.4 | No fix listed |
| MontFerret ferret(Go) | < 2.0.0-alpha.4 | 2.0.0-alpha.4 |
| MontFerret ferret(Go) | <= 0.18.1 | No fix listed |
| MontFerret ferret | < 2.0.0 | 2.0.0 |
| MontFerret ferret | = 2.0.0-alpha1 | No fix listed |
| MontFerret ferret | = 2.0.0-alpha2 | No fix listed |
| MontFerret ferret | = 2.0.0-alpha3 | No fix listed |
References
- https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j exploit mitigation vendor-advisory
- https://github.com/MontFerret/ferret/commit/160ebad6bd50f153453e120f6d909f5b83322917 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com