{"id":"CVE-2026-28492","published":"2026-03-05T21:06:21Z","modified":"2026-03-06T10:45:32Z","title":"File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory","vendor":"filebrowser","product":"filebrowser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00374,"percentile":0.32139,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/filebrowser/filebrowser/security/advisories/GHSA-mr74-928f-rw69","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83","tags":["x_refsource_MISC"]},{"url":"https://github.com/filebrowser/filebrowser/releases/tag/v2.61.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":6.43},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"filebrowser","affectedVersions":[{"vendor":"filebrowser","product":"filebrowser","versions":["< 2.61.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-06T10:45:01.806014Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","vulnerableRanges":["<2.61.0"],"patched":["2.61.0"],"from":["GHSA-mr74-928f-rw69","GO-2026-4585"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/filebrowser/filebrowser","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4585"],"provenance":"source"}],"summary":{"text":"File Browser's public share link handling (the withHashFile middleware in http/public.go) sets the filesystem root to the parent of a shared directory rather than the directory itself, so public share links expose files in sibling directories. An attacker who holds a share link, requiring no account or user interaction, can browse and download files outside the directory that was shared, with the flaw fixed in version 2.61.0 and earlier versions affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:26Z"},"euvd":{"id":"EUVD-2026-9881","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-filebrowser-cve-2021-46398","children":[{"from":"CVE-2026-28492","to":"CVE-2026-54094","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["http/public.go"],"commits":["https://github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83","https://github.com/filebrowser/filebrowser/commit/7c2c0a11b31b2bb214d741005a0b02b1764208b3"],"basis":"shared function","functions":["handleFunc"]}]}],"packageHistory":[{"cve":"CVE-2026-23849","published":"2026-01-19","fixed":"2.55.0","kev":false},{"cve":"CVE-2026-25889","published":"2026-02-09","fixed":"2.57.1","kev":false},{"cve":"CVE-2026-25890","published":"2026-02-09","fixed":"2.57.1","kev":false,"link":{"from":"CVE-2026-25890","to":"CVE-2026-28492","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/filebrowser/filebrowser/v2","fromFixed":"2.57.1","toFixed":"2.61.0","daysApart":24}]}},{"cve":"CVE-2026-28492","published":"2026-03-05","fixed":"2.61.0","kev":false},{"cve":"CVE-2026-29188","published":"2026-03-05","fixed":"2.61.1","kev":false,"link":{"from":"CVE-2026-28492","to":"CVE-2026-29188","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/filebrowser/filebrowser/v2","fromFixed":"2.61.0","toFixed":"2.61.1","daysApart":0}]}},{"cve":"CVE-2026-32758","published":"2026-03-19","fixed":"2.62.0","kev":false},{"cve":"CVE-2026-32760","published":"2026-03-19","fixed":"2.62.0","kev":false}],"package":"Go:github.com/filebrowser/filebrowser/v2"}}