# CVE-2026-34783: Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:37:29.000Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: GHSA-j6v5-g24h-vg4j, GO-2026-5452
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MontFerret ferret: < 2.0.0-alpha.4; before 2.0.0; 2.0.0
- github.com/MontFerret/ferret/v2 (Go): before 2.0.0-alpha.4
- github.com/MontFerret/ferret (Go): up to 0.18.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://github.com/MontFerret/ferret/security/advisories/GHSA-j6v5-g24h-vg4j> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/MontFerret/ferret/commit/160ebad6bd50f153453e120f6d909f5b83322917> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34783> (advisory)
- <https://github.com/MontFerret/ferret> (package)

## Sources

- CVE List: [CVE-2026-34783](https://www.cve.org/CVERecord?id=CVE-2026-34783), CVE Terms of Use, modified 2026-04-07
- GitHub Advisory Database: [GHSA-j6v5-g24h-vg4j](https://github.com/advisories/GHSA-j6v5-g24h-vg4j), CC-BY-4.0, modified 2026-07-24
- Go Vulnerability Database: [GO-2026-5452](https://pkg.go.dev/vuln/GO-2026-5452), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-34783](https://nvd.nist.gov/vuln/detail/CVE-2026-34783), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-34783 · Whole record: https://cve.day/CVE-2026-34783.json · Rebuilt by cve.day 2026-11-25T22:59:18.029Z
