Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MontFerret | ferret | before 2.0.0-alpha.4 | 2.0.0-alpha.4 | Patch available | CNA |
| — | github.com/MontFerret/ferret/v2 (Go) | before 2.0.0-alpha.4 | 2.0.0-alpha.4 | Patch available | GHSA-j6v5-g24h-vg4j |
| — | github.com/MontFerret/ferret (Go) | up to 0.18.1 | — | No fix listed | GHSA-j6v5-g24h-vg4j |
- ferret VendorMontFerret Affected before 2.0.0-alpha.4 Fixed in 2.0.0-alpha.4 Patch available CNA
- github.com/MontFerret/ferret/v2 (Go) Vendor— Affected before 2.0.0-alpha.4 Fixed in 2.0.0-alpha.4 Patch available GHSA-j6v5-g24h-vg4j
- github.com/MontFerret/ferret (Go) Vendor— Affected up to 0.18.1 Fixed in — No fix listed GHSA-j6v5-g24h-vg4j
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:montferret:ferret:*:*:*:*:*:go:*:* | before 2.0.0 | Vulnerable | MontFerret |
| cpe:2.3:a:montferret:ferret:2.0.0:alpha1:*:*:*:go:*:* | 2.0.0 alpha1 | Vulnerable | MontFerret |
| cpe:2.3:a:montferret:ferret:2.0.0:alpha2:*:*:*:go:*:* | 2.0.0 alpha2 | Vulnerable | MontFerret |
| cpe:2.3:a:montferret:ferret:2.0.0:alpha3:*:*:*:go:*:* | 2.0.0 alpha3 | Vulnerable | MontFerret |
- cpe:2.3:a:montferret:ferret:*:*:*:*:*:go:*:* Versions before 2.0.0 Vulnerable ·MontFerret
- cpe:2.3:a:montferret:ferret:2.0.0:alpha1:*:*:*:go:*:* Versions 2.0.0 alpha1 Vulnerable ·MontFerret
- cpe:2.3:a:montferret:ferret:2.0.0:alpha2:*:*:*:go:*:* Versions 2.0.0 alpha2 Vulnerable ·MontFerret
- cpe:2.3:a:montferret:ferret:2.0.0:alpha3:*:*:*:go:*:* Versions 2.0.0 alpha3 Vulnerable ·MontFerret
Remediation
- Fix · CNA ferret (MontFerret) Fixed in 2.0.0-alpha.4
- Fix · GHSA-j6v5-g24h-vg4j github.com/MontFerret/ferret/v2 (Go) Fixed in 2.0.0-alpha.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34783
- 2026-10-03 Alias added: GHSA-j6v5-g24h-vg4j
- 2026-10-25 EPSS moved to the below the 50th percentile
References
Sources
- CVE-2026-34783 · CVE Program
- CVE-2026-34783 · NVD
- FIRST EPSS
- GHSA-j6v5-g24h-vg4j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences