CVE-2026-34783

Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites

Published Apr 6, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j6v5-g24h-vg4j Ferret: Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites
History
Type Values Removed Values Added
CPEs 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:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Montferret
Montferret ferret
Vendors & Products Montferret
Montferret ferret
Type Values Removed Values Added
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.
Title Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites
Weaknesses CWE-22
CWE-73
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 7, 2026, 2:12 PM
Reserved
Mar 30, 2026, 7:54 PM
Status
Analyzed
Published
Apr 6, 2026, 5:17 PM
Modified
Oct 23, 2026, 11:10 PM