{"answers":{"affected":"6 open source packages ship an affected version, including github.com/drakkan/sftpgo and github.com/drakkan/sftpgo/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-30914 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-30914 is a medium-severity path traversal vulnerability in drakkan sftpgo, published on 13 Mar 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-30914 and fix it if it is affected.\n\nWhat it is: CVE-2026-30914 is a medium-severity path traversal vulnerability in drakkan sftpgo, published on 13 Mar 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: There is no known exploitation of CVE-2026-30914 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/drakkan/sftpgo (Go): affected all versions; no fix listed\n- github.com/drakkan/sftpgo (Go): affected all versions up to 1.2.2; no fix listed\n- github.com/drakkan/sftpgo (Go): affected all versions up to 1.2.2; no fix listed\n- github.com/drakkan/sftpgo/v2 (Go): affected all versions; fixed in 2.7.1\n- github.com/drakkan/sftpgo/v2 (Go): affected all versions; fixed in 2.7.1\n- github.com/drakkan/sftpgo/v2 (Go): affected all versions; fixed in 2.7.1\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-30914/ (Markdown: https://insights.sbomify.com/CVE-2026-30914/index.md)","id":"CVE-2026-30914","markdown":"https://insights.sbomify.com/CVE-2026-30914/index.md","name":"CVE-2026-30914","record":{"aliases":["GHSA-x8qh-7475-c5mp","GO-2026-4699"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"SFTPGo file transfer","requires_auth":"none","summary":"An authenticated attacker can bypass folder permissions and escape virtual folder boundaries in SFTPGo via path normalization discrepancies.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sftpgo","vendor":"sftpgo_project"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"SFTPGo is an open source, event-driven file transfer solution. In SFTPGo versions prior to 2.7.1, a path normalization discrepancy between the protocol handlers and the internal Virtual Filesystem routing can lead to an authorization bypass. An authenticated attacker can craft specific file paths to bypass folder-level permissions or escape the boundaries of a configured Virtual Folder. This vulnerability is fixed in 2.7.1.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SFTPGo has a Path Traversal and Permission Bypass via Path Normalization Discrepancy","id":"CVE-2026-30914","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"SFTPGo improperly sanitizes placeholders in group home directories/key prefixes","id":"CVE-2026-30915"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","source":"GO-2026-4699"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.2"],"package":"github.com/drakkan/sftpgo","purl":null,"source":"GHSA-x8qh-7475-c5mp"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.2"],"package":"github.com/drakkan/sftpgo","purl":"pkg:golang/github.com/drakkan/sftpgo","source":"GHSA-x8qh-7475-c5mp"},{"ecosystem":"Go","fixed":["2.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/drakkan/sftpgo/v2","purl":null,"source":"GHSA-x8qh-7475-c5mp"},{"ecosystem":"Go","fixed":["2.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","source":"GHSA-x8qh-7475-c5mp"},{"ecosystem":"Go","fixed":["2.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/drakkan/sftpgo/v2","purl":"pkg:golang/github.com/drakkan/sftpgo/v2","source":"GO-2026-4699"}],"prev":{"headline":"flarum/nickname: Display name injection in notification emails (autolink \u0026 markdown)","id":"CVE-2026-30913"},"products":["sftpgo"],"published":"2026-03-13","related":[{"cvss_score":8.3,"headline":"Recovery codes abuse in SFTPGo","id":"CVE-2022-36071","kev_date_added":null,"published":"2022-09-02"},{"cvss_score":6.1,"headline":"XSS Vulnerabilities in WebClient","id":"CVE-2022-39220","kev_date_added":null,"published":"2022-09-20"},{"cvss_score":5.3,"headline":"SFTPGo improperly sanitizes placeholders in group home directories/key prefixes","id":"CVE-2026-30915","kev_date_added":null,"published":"2026-03-13"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-13","vendors":["drakkan"]},"summary":"An authenticated attacker can bypass folder permissions and escape virtual folder boundaries in SFTPGo via path normalization discrepancies.","url":"https://insights.sbomify.com/CVE-2026-30914/"}