CVE-2026-54091: Filebrowser Rebased Fs Ac Bypass

The filesystem is being rebased (chrooted) using afero.NewBasePathFs, but the access control checker ($D) is invoked without being updated with the path prefix. This can lead to access control bypasses since rules matching absolute paths relative to the original filesystem root will silently fail to match incoming paths relative to the rebased filesystem.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-54091-filebrowser-rebased-fs-ac-bypass --engine opengrep

Description

The filesystem is being rebased (chrooted) using afero.NewBasePathFs, but the access control checker ($D) is invoked without being updated with the path prefix. This can lead to access control bypasses since rules matching absolute paths relative to the original filesystem root will silently fail to match incoming paths relative to the rebased filesystem.