# CVE-2026-35605: File Browser has an access rule bypass via HasPrefix without trailing separator in path matching

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T16:24:52.307Z
- Modified: 2026-06-25T18:56:06.678Z
- Also known as: GHSA-5q48-q4fm-g3m6, GO-2026-5150
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.63.1, the Matches() function in rules/rules.go uses strings.HasPrefix() without a trailing directory separator when matching paths against access rules. A rule for /uploads also matches /uploads_backup/, granting or denying access to unintended directories.  This vulnerability is fixed in 2.63.1.

(As written by CVE List.)

## Affected

- filebrowser filebrowser: < 2.63.1; before 2.63.1
- github.com/filebrowser/filebrowser/v2 (Go): before 2.63.1
- github.com/filebrowser/filebrowser (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-5q48-q4fm-g3m6> (exploit, advisory, vendor-advisory, web)
- <https://github.com/filebrowser/filebrowser/pull/5889> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35605> (advisory)
- <https://github.com/filebrowser/filebrowser> (package)

## Sources

- CVE List: [CVE-2026-35605](https://www.cve.org/CVERecord?id=CVE-2026-35605), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-5q48-q4fm-g3m6](https://github.com/advisories/GHSA-5q48-q4fm-g3m6), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5150](https://pkg.go.dev/vuln/GO-2026-5150), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-35605](https://nvd.nist.gov/vuln/detail/CVE-2026-35605), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-35605 · Whole record: https://cve.day/CVE-2026-35605.json · Rebuilt by cve.day 2026-11-25T22:59:18.133Z
