Skip to content
OpenAdvisories
High · 8.1 CVE-2026-34783 EUVD-2026-19353GHSA-j6v5-g24h-vg4jGO-2026-5452

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

Published Apr 6, 2026 · Updated Apr 7, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
MontFerret ferret < 2.0.0-alpha.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
SLES 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 openSUSE-SU-2026:21551-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/MontFerret/ferret <= 0.18.1 — GHSA-j6v5-g24h-vg4j
Go github.com/MontFerret/ferret/v2 < 2.0.0-alpha.4 2.0.0-alpha.4 GHSA-j6v5-g24h-vg4j

Advisories 3

References