{"id":"CVE-2026-35605","state":"PUBLISHED","title":"File Browser has an access rule bypass via HasPrefix without trailing separator in path matching","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.","publishedAt":"2026-04-07T16:24:52.307Z","updatedAt":"2026-04-09T14:32:02.764Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["filebrowser filebrowser"],"affected":[{"vendor":"filebrowser","product":"filebrowser","versions":[{"version":"< 2.63.1","status":"affected"}]}],"references":["https://github.com/filebrowser/filebrowser/security/advisories/GHSA-5q48-q4fm-g3m6","https://github.com/filebrowser/filebrowser/pull/5889"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35605.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35605","state":"PUBLISHED","datePublished":"2026-04-07T16:24:52.307Z","dateUpdated":"2026-04-09T14:32:02.764Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-03T21:25:12.162Z"},"containers":{"cna":{"title":"File Browser has an access rule bypass via HasPrefix without trailing separator in path matching","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"filebrowser","product":"filebrowser","versions":[{"version":"< 2.63.1","status":"affected"}]}],"references":[{"url":"https://github.com/filebrowser/filebrowser/security/advisories/GHSA-5q48-q4fm-g3m6","name":"https://github.com/filebrowser/filebrowser/security/advisories/GHSA-5q48-q4fm-g3m6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/filebrowser/filebrowser/pull/5889","name":"https://github.com/filebrowser/filebrowser/pull/5889","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-07T16:24:52.307Z"},"source":{"advisory":"GHSA-5q48-q4fm-g3m6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-04-09T14:30:12.298713Z","id":"CVE-2026-35605","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-09T14:32:02.764Z"}}]}}}