{"id":"CVE-2026-34783","published":"2026-04-06T16:04:24Z","modified":"2026-04-07T14:12:22Z","title":"Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites","vendor":"MontFerret","product":"ferret","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00535,"percentile":0.46019,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MontFerret/ferret/commit/160ebad6bd50f153453e120f6d909f5b83322917","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.2},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"montferret","affectedVersions":[{"vendor":"MontFerret","product":"ferret","versions":["< 2.0.0-alpha.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-07T14:12:17.493517Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/MontFerret/ferret/v2","vulnerableRanges":["<2.0.0-alpha.4"],"patched":["2.0.0-alpha.4"],"from":["GHSA-j6v5-g24h-vg4j","GO-2026-5452"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/MontFerret/ferret","vulnerableRanges":["<=0.18.1"],"patched":[],"from":["GHSA-j6v5-g24h-vg4j"],"provenance":"source"}],"summary":{"text":"Ferret, a declarative web data system from MontFerret, contains a path traversal flaw in its IO::FS::WRITE standard library function that lets a crafted filename escape the intended output directory. An attacker can exploit this when a user is induced to scrape a malicious website whose returned filenames contain \"../\" sequences and that the operator then uses to build output paths, allowing the attacker to choose both the destination and content of files written to the host running Ferret.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:58Z"},"euvd":{"id":"EUVD-2026-19353","exploited":false,"provenance":"source"}}