{"answers":{"affected":"5 open source packages ship an affected version, including github.com/MontFerret/ferret/v2 and github.com/MontFerret/ferret. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34783 exists.","fix":"Upgrade github.com/MontFerret/ferret/v2 to 2.0.0-alpha.4 or later.","what":"CVE-2026-34783 is a high-severity path traversal vulnerability in MontFerret ferret, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-34783 and fix it if it is affected.\n\nWhat it is: CVE-2026-34783 is a high-severity path traversal vulnerability in MontFerret ferret, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34783 exists.\n\nAffected packages and fixed versions:\n- github.com/MontFerret/ferret/v2 (Go): affected all versions; fixed in 2.0.0-alpha.4\n- github.com/MontFerret/ferret/v2 (Go): affected all versions; fixed in 2.0.0-alpha.4\n- github.com/MontFerret/ferret/v2 (Go): affected all versions; fixed in 2.0.0-alpha.4\n- github.com/MontFerret/ferret (Go): affected all versions up to 0.18.1; no fix listed\n- github.com/MontFerret/ferret (Go): affected all versions up to 0.18.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34783/ (Markdown: https://insights.sbomify.com/CVE-2026-34783/index.md)","id":"CVE-2026-34783","markdown":"https://insights.sbomify.com/CVE-2026-34783/index.md","name":"CVE-2026-34783","record":{"aliases":["GHSA-j6v5-g24h-vg4j","GO-2026-5452"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Go web scraping library","requires_auth":"none","summary":"A path traversal in Ferret allows malicious websites to write arbitrary files, potentially leading to remote code execution on the host.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ferret","vendor":"montferret"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Ferret has a Path Traversal in IO::FS::WRITE allows arbitrary file write when scraping malicious websites","id":"CVE-2026-34783","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":2,"next":{"headline":"Parse Server: Streaming file download bypasses afterFind file trigger authorization","id":"CVE-2026-34784"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.18.1"],"package":"github.com/MontFerret/ferret","purl":null,"source":"GHSA-j6v5-g24h-vg4j"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.18.1"],"package":"github.com/MontFerret/ferret","purl":"pkg:golang/github.com/MontFerret/ferret","source":"GHSA-j6v5-g24h-vg4j"},{"ecosystem":"Go","fixed":["2.0.0-alpha.4"],"introduced":["0"],"last_affected":[],"package":"github.com/MontFerret/ferret/v2","purl":null,"source":"GHSA-j6v5-g24h-vg4j"},{"ecosystem":"Go","fixed":["2.0.0-alpha.4"],"introduced":["0"],"last_affected":[],"package":"github.com/MontFerret/ferret/v2","purl":"pkg:golang/github.com/MontFerret/ferret/v2","source":"GHSA-j6v5-g24h-vg4j"},{"ecosystem":"Go","fixed":["2.0.0-alpha.4"],"introduced":["0"],"last_affected":[],"package":"github.com/MontFerret/ferret/v2","purl":"pkg:golang/github.com/MontFerret/ferret/v2","source":"GO-2026-5452"}],"prev":{"headline":"Zammad has improper access control in AI assistance controller for text tools","id":"CVE-2026-34782"},"products":["ferret"],"published":"2026-04-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["MontFerret"]},"summary":"A path traversal in Ferret allows malicious websites to write arbitrary files, potentially leading to remote code execution on the host.","url":"https://insights.sbomify.com/CVE-2026-34783/"}