Home

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.

PUBLISHED Reserved 2026-03-30 | Published 2026-04-06 | Updated 2026-04-07 | Assigner GitHub_M




HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-73: External Control of File Name or Path

Product status

< 2.0.0-alpha.4
affected

References

github.com/...ferret/security/advisories/GHSA-j6v5-g24h-vg4j exploit

github.com/...ferret/security/advisories/GHSA-j6v5-g24h-vg4j

github.com/...ommit/160ebad6bd50f153453e120f6d909f5b83322917

cve.org (CVE-2026-34783)

nvd.nist.gov (CVE-2026-34783)

Download JSON