CVE-2026-54091: File Browser has incorrect access control for public directory shares via rule path rebasing
File Browser’s public share handlers rebase the share owner’s filesystem root to the shared directory and then evaluate descendant paths against the owner’s global and per-user rules using the rebased relative path instead of the original path relative to the owner’s scope.
As a result, an attacker who knows a public directory share URL can access files and subdirectories that the owner explicitly blocked with rules, as long as those blocked paths are located underneath the shared directory. In the simplest case this is an unauthenticated information disclosure through GET /api/public/share/* and GET /api/public/dl/*.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-54091 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →