Skip to main content

File Browser EUVDEUVD-2026-39507

| CVE-2026-54091 HIGH
Incorrect Authorization (CWE-863)
2026-06-12 https://github.com/filebrowser/filebrowser GHSA-j9jx-hp4c-ghhh
7.5
CVSS 3.1 · Vendor: https://github.com/filebrowser/filebrowser
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover public share URL
  2. Delivery
    Send GET /api/public/share/<hash>/<blocked-subpath>/
  3. Exploit
    Path evaluated against rebased FS root
  4. Execution
    Owner deny rule fails prefix match
  5. Persist
    Server returns 200 with file or listing
  6. Impact
    Exfiltrate secrets, configs, or backups

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires (1) a File Browser instance running github.com/filebrowser/filebrowser/v2 <= 2.63.5 (or any version of the legacy v1 module) reachable by the attacker; (2) the owner has created a public share whose target is a directory, not an individual file - the bug only triggers in the file.IsDir branch of http/public.go; (3) the owner has configured owner-scope or per-user deny rules targeting paths beneath that shared directory (without such rules there is nothing to bypass); and (4) the attacker knows the share hash URL. Limiting factor: if the share is password-protected the attacker must also know the password, and exploitation is bounded to files physically located under the shared directory - it is not a full filesystem read primitive.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (7.5 High) accurately reflects a network-reachable, unauthenticated, low-complexity confidentiality-only flaw - consistent with the description's claim that any attacker who knows a non-password-protected share URL can read blocked content. The 0.04% EPSS / 13th percentile and absence of CISA KEV listing indicate no observed mass exploitation, which is plausible for a niche self-hosted product whose blast radius depends on share-link discovery. However, real-world risk is meaningful for organizations that rely on File Browser rules as a security boundary inside shared directories (a documented and supported feature), since exposed share URLs are often indexable, logged in proxies, or shared over chat. There is a tension worth noting: the CVSS unauthenticated rating assumes the share is not password-protected - password-protected shares would require knowledge of that secret, which the CVSS vector does not capture. Prioritize patching where directory shares are used with rule-based deny lists.

Exploit ScenarioDerived

An owner publishes a public, non-password-protected directory share for /projects/ that contains a child path /projects/private/secret.txt blocked by an owner rule. An attacker who obtains the share hash (from a leaked URL, referer header, or proxy log) issues GET /api/public/dl/<hash>/private/secret.txt and receives the file content, or GET /api/public/share/<hash>/private/ to list the blocked subdirectory. A working PoC is published in the GHSA advisory description.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 12, 2026

Unauthenticated information disclosure in File Browser (filebrowser/filebrowser) versions <= 2.63.5 allows public share recipients to bypass owner-defined deny rules and read or list files explicitly blocked beneath a shared directory. The flaw stems from the public share handler rebasing the filesystem root but evaluating access rules against the rebased relative path rather than the owner's original scope. No public exploit identified at time of analysis, but a detailed PoC accompanies the GHSA advisory and EPSS sits at 0.04% (13th percentile).

RemediationAI

Vendor-released patch: upgrade to File Browser v2.63.6 or later, which introduces a checkerPrefix on the data struct that re-joins the share base path before rule evaluation (commit e07c59df0b850f5924d5b1683e8609661ddcf534). Operators on the legacy github.com/filebrowser/filebrowser (v1) module path have no released fixed version and should migrate to the v2 module or apply the equivalent patch manually. As a compensating control until upgrade, restrict or disable public directory shares (share files individually rather than parent directories, since the bug only manifests when the share target is a directory) and enforce password protection on all public shares to require a secret beyond the URL itself - note this still permits anyone with the password to bypass owner rules, so it only reduces exposure to URL leaks rather than eliminating the bug. Additionally, place File Browser behind an authenticating reverse proxy or IP allowlist to remove unauthenticated internet reachability. Consult the advisory at https://github.com/filebrowser/filebrowser/security/advisories/GHSA-j9jx-hp4c-ghhh for details.

Affected VersionsENISA

filebrowser < 2.63.6

Affected Packages

go github.com/filebrowser/filebrowser no fix
go github.com/filebrowser/filebrowser/v2 fix: 2.63.6
euvd filebrowser fix: 2.63.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

File Browser is a Go-based self-hosted web file manager (github.com/filebrowser/filebrowser). The vulnerability resides in http/public.go and http/data.go: when a public share targets a directory, the handler swaps d.user.Fs for an afero BasePathFs rooted at the shared directory, but the authorization Check() function in rules/rules.go uses simple strings.HasPrefix matching against rule paths that remain anchored to the owner's original (un-rebased) filesystem scope. A deny rule like /projects/private therefore never matches the rebased request path /private/secret.txt even though it resolves to the same underlying file. This is a textbook CWE-863 (Incorrect Authorization) instance, specifically a path-namespace mismatch between the access-decision context and the enforcement context.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/filebrowser/filebrowser) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Network-reachable public share endpoint, no authentication when share is unprotected, no user interaction, confidentiality-only impact (read of blocked files) with no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (https://github.com/filebrowser/filebrowser).

CVSS VectorVendor: https://github.com/filebrowser/filebrowser

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

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/*.

Details

The public share flow first resolves the original shared path under the owner's filesystem, but then switches d.user.Fs to a new BasePathFs rooted at the shared directory. The follow-up authorization check is still performed by d.Check, which compares the request path to rule strings using prefix matching.

When the share target is a directory, the path passed to d.Check becomes relative to the shared directory, while the rules remain relative to the owner's original scope. A deny rule such as /projects/private therefore no longer matches a public share request for /private/secret.txt, even though the rebased filesystem resolves that request to the real path /projects/private/secret.txt.

Core vulnerable code path:

go
// http/public.go
if file.IsDir {
    basePath = filepath.Clean(link.Path)
    filePath = ifPath
}

d.user.Fs = afero.NewBasePathFs(d.user.Fs, basePath)

file, err = files.NewFileInfo(&files.FileOptions{
    Fs:      d.user.Fs,
    Path:    filePath,
    Expand:  true,
    Checker: d,
})
go
// http/data.go and rules/rules.go
func (d *data) Check(path string) bool {
    allow := true
    for _, rule := range d.settings.Rules {
        if rule.Matches(path) {
            allow = rule.Allow
        }
    }
    for _, rule := range d.user.Rules {
        if rule.Matches(path) {
            allow = rule.Allow
        }
    }
    return allow
}

func (r *Rule) Matches(path string) bool {
    if path == r.Path {
        return true
    }
    prefix := r.Path
    if prefix != "/" && !strings.HasSuffix(prefix, "/") {
        prefix += "/"
    }
    return strings.HasPrefix(path, prefix)
}

The issue is reachable from the public endpoints registered in http/http.go for /api/public/share/* and /api/public/dl/*.

PoC

The attacker only needs a directory share URL. No authenticated session is required if the share is not password protected.

Reproduction flow:

  1. Prepare a directory owned by a normal user, for example /projects/.
  2. Inside it, create a sensitive child path such as /projects/private/secret.txt.
  3. Configure a deny rule for the share owner that blocks /projects/private.
  4. Have the owner create a public share for /projects/.
  5. Request the blocked child path through the public share endpoints.

PoC:

bash
# owner creates a public share for /projects/
curl -s -X POST 'http://HOST/api/share/projects/' \
  -H 'X-Auth: <OWNER_JWT>' \
  -H 'Content-Type: application/json' \
  -d '{}'

The response contains a share hash such as:

text
{"hash":"<HASH>","path":"/projects/","userID":2,"expire":0}

The attacker can then access a rule-blocked file below the shared directory:

bash
curl -i 'http://HOST/api/public/dl/<HASH>/private/secret.txt'

A blocked subdirectory can also be listed directly:

bash
curl -i 'http://HOST/api/public/share/<HASH>/private/'

the server returns 200 OK and serves the file content or directory listing, even though the share owner's rules should have made that path inaccessible.

Impact

This flaw allows public share recipients to read files and browse directories that the share owner explicitly intended to block with File Browser rules. Because the vulnerable path is the public share feature, the exposure can be unauthenticated and internet-reachable whenever a share link is exposed.

In practical deployments, this can disclose secrets, configuration files, backup material, private project directories, or any other content that administrators or users attempted to hide beneath a shared parent directory using the built-in rule system.

Executive ViewAI

Why It Matters

File Browser, a popular open-source file-sharing tool, contains an unauthenticated vulnerability that allows external share recipients to bypass access restrictions and read files the organization intentionally blocked. While publicly available exploit code exists, no active exploitation has been detected at time of analysis. Organizations using versions 2.63.5 and earlier should prioritize patching to restore proper access controls and protect shared sensitive data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy