{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gtsteffaniak/filebrowser/backend.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48777 exists.","fix":"Upgrade github.com/gtsteffaniak/filebrowser/backend to 0.0.0-20260518193514-28e9b81e438e or later.","what":"CVE-2026-48777 is a critical path traversal vulnerability in gtsteffaniak filebrowser, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-48777 and fix it if it is affected.\n\nWhat it is: CVE-2026-48777 is a critical path traversal vulnerability in gtsteffaniak filebrowser, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48777 exists.\n\nAffected packages and fixed versions:\n- github.com/gtsteffaniak/filebrowser/backend (Go): affected all versions; fixed in 0.0.0-20260518193514-28e9b81e438e\n- github.com/gtsteffaniak/filebrowser/backend (Go): affected all versions; fixed in 0.0.0-20260518193514-28e9b81e438e\n- github.com/gtsteffaniak/filebrowser/backend (Go): affected all versions; fixed in 0.0.0-20260518193514-28e9b81e438e\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-48777/ (Markdown: https://insights.sbomify.com/CVE-2026-48777/index.md)","id":"CVE-2026-48777","markdown":"https://insights.sbomify.com/CVE-2026-48777/index.md","name":"CVE-2026-48777","record":{"aliases":["GHSA-qqqm-5547-774x","GO-2026-5591"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"FileBrowser Quantum","requires_auth":"none","summary":"Attackers with a public share link can move, copy, or rename files outside the shared directory due to path traversal in the PATCH handler.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"FileBrowser Quantum is a free, self-hosted, web-based file manager. Versions prior to 1.3.2-stable, 1.4.0-beta and 1.4.1-beta are vulnerable to Path Traversal through the publicPatchHandler in backend/http/public.go which joins user-controlled fromPath and toPath body fields with the trusted d.share.Path BEFORE the downstream sanitizer runs. Because filepath.Join collapses .. segments during the join, the sanitizer in resourcePatchHandler never sees the traversal and the move/copy/rename operates on a path outside the shared directory. The same root-cause pattern was patched for the bulk DELETE endpoint as CVE-2026-44542 (GHSA-fwj3-42wh-8673), but the PATCH handler with the identical pattern was not updated. A public share link with AllowModify=true is sufficient to exploit this. Anyone holding such a link can move, copy, or rename arbitrary files within the share owner's source root. This issue has been fixed in versions 1.3.3-stable and 1.4.2-beta.","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":"FileBrowser Quantum: Path Traversal in public share PATCH allows file ops outside shared directory","id":"CVE-2026-48777","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter","id":"CVE-2026-48778"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260518193514-28e9b81e438e"],"introduced":["0"],"last_affected":[],"package":"github.com/gtsteffaniak/filebrowser/backend","purl":null,"source":"GHSA-qqqm-5547-774x"},{"ecosystem":"Go","fixed":["0.0.0-20260518193514-28e9b81e438e"],"introduced":["0"],"last_affected":[],"package":"github.com/gtsteffaniak/filebrowser/backend","purl":"pkg:golang/github.com/gtsteffaniak/filebrowser/backend","source":"GHSA-qqqm-5547-774x"},{"ecosystem":"Go","fixed":["0.0.0-20260518193514-28e9b81e438e"],"introduced":["0"],"last_affected":[],"package":"github.com/gtsteffaniak/filebrowser/backend","purl":"pkg:golang/github.com/gtsteffaniak/filebrowser/backend","source":"GO-2026-5591"}],"prev":{"headline":"LangGraph SDK has unsafe URL path construction","id":"CVE-2026-48776"},"products":["filebrowser"],"published":"2026-06-16","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-17","vendors":["gtsteffaniak"]},"summary":"Attackers with a public share link can move, copy, or rename files outside the shared directory due to path traversal in the PATCH handler.","url":"https://insights.sbomify.com/CVE-2026-48777/"}