{"answers":{"affected":"4 open source packages ship an affected version, including github.com/filebrowser/filebrowser/v2 and github.com/filebrowser/filebrowser. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28492 exists.","fix":"Upgrade github.com/filebrowser/filebrowser/v2 to 2.61.0 or later.","what":"CVE-2026-28492 is a high-severity path traversal vulnerability in filebrowser, published on 5 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-28492 and fix it if it is affected.\n\nWhat it is: CVE-2026-28492 is a high-severity path traversal vulnerability in filebrowser, published on 5 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28492 exists.\n\nAffected packages and fixed versions:\n- github.com/filebrowser/filebrowser/v2 (Go): affected all versions; fixed in 2.61.0\n- github.com/filebrowser/filebrowser/v2 (Go): affected all versions; fixed in 2.61.0\n- github.com/filebrowser/filebrowser/v2 (Go): affected all versions; fixed in 2.61.0\n- github.com/filebrowser/filebrowser (Go): affected all versions; 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-28492/ (Markdown: https://insights.sbomify.com/CVE-2026-28492/index.md)","id":"CVE-2026-28492","markdown":"https://insights.sbomify.com/CVE-2026-28492/index.md","name":"CVE-2026-28492","record":{"aliases":["GHSA-mr74-928f-rw69","GO-2026-4585"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"File Browser","requires_auth":"low_privilege","summary":"Attackers with a public share link can browse and download files from sibling directories due to incorrect filesystem root calculation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"filebrowser","vendor":"filebrowser"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.","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":"File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory","id":"CVE-2026-28492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"ImageMagick has a Integer Overflow leading to out of bounds write in SIXEL decoder","id":"CVE-2026-28493"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser","purl":"pkg:golang/github.com/filebrowser/filebrowser","source":"GO-2026-4585"},{"ecosystem":"Go","fixed":["2.61.0"],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser/v2","purl":null,"source":"GHSA-mr74-928f-rw69"},{"ecosystem":"Go","fixed":["2.61.0"],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","source":"GHSA-mr74-928f-rw69"},{"ecosystem":"Go","fixed":["2.61.0"],"introduced":["0"],"last_affected":[],"package":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","source":"GO-2026-4585"}],"prev":{"headline":"Authlib Vulnerable to JWE RSA1_5 Bleichenbacher Padding Oracle","id":"CVE-2026-28490"},"products":["filebrowser"],"published":"2026-03-05","related":[{"cvss_score":10,"headline":"File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin","id":"CVE-2026-32760","kev_date_added":null,"published":"2026-03-19"},{"cvss_score":9.1,"headline":"File Browser: TUS Delete Endpoint Bypasses Delete Permission Check","id":"CVE-2026-29188","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":9,"headline":"Cross-site scripting in n/a","id":"CVE-2023-39612","kev_date_added":null,"published":"2023-09-16"},{"cvss_score":8.9,"headline":"FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)","id":"CVE-2026-30934","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in Filebrowser","id":"CVE-2021-46398","kev_date_added":null,"published":"2022-02-04"},{"cvss_score":8.2,"headline":"File Browser share links remain accessible after Share/Download permissions are revoked","id":"CVE-2026-35604","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.1,"headline":"File Browser: Proxy auth auto-provisioned users inherit Execute permission and Commands","id":"CVE-2026-35607","kev_date_added":null,"published":"2026-04-07"}],"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-06","vendors":["filebrowser"]},"summary":"Attackers with a public share link can browse and download files from sibling directories due to incorrect filesystem root calculation.","url":"https://insights.sbomify.com/CVE-2026-28492/"}