Skip to main content

File Browser EUVDEUVD-2026-39503

| CVE-2026-54094 HIGH
Path Traversal (CWE-22)
2026-06-12 https://github.com/filebrowser/filebrowser GHSA-239w-m3h6-ch8v
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
    Authenticate as scoped user (or open public share)
  2. Delivery
    Locate/plant in-scope symlink to out-of-scope target
  3. Exploit
    Request path via /api/raw, /api/resources, or /api/tus
  4. Execution
    Handler follows symlink past scope check
  5. Persist
    Read or overwrite out-of-scope data
  6. Impact
    Optionally publish via public share

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Requires a multi-user (or public-share) File Browser deployment in which a symlink already exists inside the restricted user's scoped tree: a file symlink whose target is an out-of-scope file (Variant 1), or a directory symlink whose subtree contains the target file (Variant 2). The symlink target must be outside the user's scope yet reachable by the File Browser server process on disk. The authenticated read/overwrite/share paths require a valid scoped account with normal permissions (e.g. download/create/modify/share); the Variant 2 public-share path additionally allows an UNAUTHENTICATED recipient to read linked descendants of a shared directory. Limiting factors: the crossing symlink must be pre-planted-web-UI-only creation of such a symlink was NOT demonstrated, so realistic placement relies on an SMB/NFS export, a Docker bind-mount, or an admin-created link; single-user installs with no untrusted symlink source are not practically exploitable. Plain ../ and percent-encoded dot-dot traversal remain blocked.

Impact

Signals diverge and should be weighed carefully. The NVD CVSS of 7.5 (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:N) treats this as a network, no-auth, low-complexity confidentiality-only flaw, but that scoring understates integrity (the PoC overwrites out-of-scope files via override and TUS) and overstates ease: exploitation depends on a symlink already existing inside the victim's scope, which is a meaningful precondition-arguing for higher attack complexity (AC:H) and, for the authenticated read/write/share paths, at least low privileges (PR:L). EPSS is very low (0.07%, 23rd percentile) and the CVE is NOT in CISA KEV, indicating no observed mass exploitation; however a detailed, route-level PoC is public in the GHSA, so weaponization effort is minimal once the symlink prerequisite is met. Net: this is a real, patch-now issue for multi-user/multi-tenant File Browser deployments (especially Docker bind-mount or SMB/NFS-backed setups where users or other processes can plant symlinks), but a lower priority for single-user installs where no untrusted user can introduce a crossing symlink. Conflict to verify with vendor: CVSS marks I:N yet the advisory and PoC demonstrate out-of-scope overwrite/create-integrity impact is real despite the published vector.

Exploit ScenarioDerived

In a shared File Browser instance, a low-privileged user (or an external process such as an SMB/NFS export or Docker bind-mount) places a symlink named link-out inside their /u1 scope pointing to another tenant's /u2/secret.txt. The attacker then calls GET /api/raw/link-out to read other-secret, POST /api/resources/link-out?override=true to overwrite it, or POST /api/share/link-out to publish it as an anonymous public download. A working route-level PoC for all four operations is published in the GHSA advisory.

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

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

Alert me

AnalysisAIv3 – Jun 25, 2026

Symlink-following scope escape in File Browser (filebrowser/filebrowser v2 ≤ 2.63.13) lets a restricted, scoped user-and in the public-share case an unauthenticated recipient-read, overwrite, and share files outside their assigned directory whenever a symlink lexically inside their scope resolves to a target elsewhere on the server. The per-user BasePathFs root blocks lexical ../ traversal but the HTTP handlers dereference symlinks before serving, writing, or sharing, so any file the server process can reach is exposed. Publicly available proof-of-concept exploit code exists in the GHSA advisory; the issue is not in CISA KEV and EPSS is low (0.07%, 23rd percentile).

Earlier versions of this analysis (2)
v2 Jun 25, 2026 - 19:30 cvss changed CVSS 7.5

Out-of-scope file read, overwrite, and share disclosure in File Browser (filebrowser/filebrowser v2 <= 2.63.13) arises because the per-user scope, enforced only with afero BasePathFs, blocks lexical ../ traversal but lets HTTP handlers follow symbolic links whose lexical path is inside scope yet whose target lies outside it. A scoped user - and, via public directory shares, even an unauthenticated recipient - can read, overwrite, TUS-upload to, and publicly share any file the server process can reach. No active exploitation is recorded (not in CISA KEV), but a detailed working proof-of-concept is published in the GitHub Security Advisory, and EPSS is low at 0.07%.

v1 Jun 12, 2026 - 22:23 CVSS 6.8

Symlink following in File Browser allows authenticated scoped users to escape their per-user directory boundary, enabling unauthorized read and write access to any file reachable by the server process. All v2 releases through v2.63.13 and all v1.x releases are affected; no patch exists for the v1 legacy branch. Publicly available exploit code is present in the GitHub security advisory covering read, write, TUS resumable upload, share creation, and - in Variant 2 - unauthenticated access through public directory shares containing symlinked descendants. EPSS is 0.07% (23rd percentile) with no CISA KEV listing at time of analysis, though the detailed proof-of-concept substantially lowers the exploitation bar once the symlink precondition is met.

RemediationAI

Vendor-released patch: upgrade File Browser v2 to 2.63.14 or later, which adds a NewScopedFs wrapper that resolves every path component with filepath.EvalSymlinks and refuses to dereference links escaping the scope across stat, listing, raw/archive, write, TUS, and public-share paths (fix commit 7c2c0a11b31b2bb214d741005a0b02b1764208b3, release https://github.com/filebrowser/filebrowser/releases/tag/v2.63.14). For the legacy v1 module (≤ 1.11.0) no fixed version is identified at time of analysis, so migrate to the patched v2 line. If you cannot upgrade immediately, apply compensating controls: audit each user's scoped tree and remove any existing symlinks that resolve outside the scope (this directly closes the disclosure/overwrite vectors); prevent untrusted creation of symlinks in scoped trees-mount user data with the filesystem nosymfollow option or a no-symlink-capable backend (note: breaks any legitimate in-scope symlink workflows); avoid sharing a host directory across multiple File Browser users via Docker bind-mounts or SMB/NFS exports that let one tenant plant links readable by the server; and disable or tightly restrict public/anonymous shares (POST /api/share, GET /api/public/*) until patched, since Variant 2 exposes unauthenticated recipients. Refer to GHSA-239w-m3h6-ch8v for authoritative guidance.

Affected VersionsENISA

filebrowser < 2.63.14

Affected Packages

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

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 self-hosted Go web file manager (CPE pkg:go/github.com_filebrowser_filebrowser_v2) that confines each user to a directory using afero.NewBasePathFs(afero.NewOsFs(), scope). BasePathFs only enforces lexical containment-it strips ../ and prefixes the scope root-but it does not call EvalSymlinks, so ordinary OS operations (Stat, Open, OpenFile, MkdirAll) transparently follow symbolic links to targets outside the base. This is the classic CWE-22 path-traversal class, but realized via symlink dereference rather than dot-dot sequences. Two shapes exist: Variant 1, where the final path component is itself a symlink (stat() set IsSymlink but still resolved and served the target), and Variant 2, where a regular file is reached through a symlinked ancestor directory-LstatIfPossible follows the ancestor and reports the leaf as a non-symlink (IsSymlink==false), so stat() returns early and the scope containment check never runs. The same gap spans files/file.go (stat, readListing), http/raw.go (getFiles archive walker), http/resource.go (writeFile), http/tus_handlers.go (TUS create/patch with no containment check), and http/share.go / http/public.go (share creation and unauthenticated public serving).

Know when Docker gets its next vulnerability

  • 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 6.8 MEDIUM

Network-reachable but needs a pre-planted in-scope symlink (AC:H) and a scoped account for the reliable read/write paths (PR:L); both confidentiality and integrity are impacted (overwrite), no availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/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

Lifecycle Timeline

4
Analysis Updated
Jun 25, 2026 - 19:30 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 25, 2026 - 19:30 vuln.today
v2 - CVSS changed
Severity Changed
Jun 25, 2026 - 19:22 NVD
MEDIUM HIGH
CVSS changed
Jun 25, 2026 - 19:22 NVD
6.8 (MEDIUM) 7.5 (HIGH)

DescriptionCVE.org

Summary

File Browser enforces per-user scope with afero.NewBasePathFs(afero.NewOsFs(), scope), set up in users/users.go. This blocks lexical ../ traversal, but it does not stop the HTTP file handlers from following symbolic links before they open, serve, write, share, or list a file. As a result, a scoped user - and in some cases an unauthenticated public-share recipient - can cross the intended scope boundary by following a symlink whose path is lexically inside their scope but whose target is outside it.

Two distinct shapes are covered here:

  • Variant 1 - symlink as the final path component. A symlink that lives inside the user's scoped tree and points to a file under the server root but outside the scope. The handlers record the symlink (IsSymlink) but then resolve and operate on the target anyway.
  • Variant 2 - file or directory reached through a symlinked ancestor. A regular file requested *through* a symlinked directory.

Read, write (including TUS resumable uploads), share creation, and public-share serving are all affected.

Impact

In a multi-user deployment, if a symlink (a file symlink for Variant 1, or a directory symlink for Variant 2) exists inside a restricted user's scoped tree and resolves to a location outside that scope but reachable by the server process, the boundary can be crossed. Concretely, a user holding only normal File Browser permissions can:

  • Read out-of-scope file contents and metadata via GET /api/raw/{path} and GET /api/resources/{path}.
  • Overwrite an out-of-scope target via POST /api/resources/{path}?override=true.
  • Overwrite or create an out-of-scope target via the TUS resumable upload path: POST /api/tus/{path}?override=true followed by PATCH /api/tus/{path}.
  • Create a public share for an out-of-scope target via POST /api/share/{path}, exposing it through GET /api/public/dl/{hash}.

For Variant 2, the same exposure reaches public-share recipients: a normal public directory share whose subtree contains a linked descendant lets an unauthenticated recipient read regular files behind the link, pull them into the share's archive download, and see the resolved target in directory listings.

This breaks the confidentiality and integrity guarantees that per-user scopes and password/anonymous shares are relied upon to provide, for any data the server process can reach.

Technical details

Users are rooted with afero.NewBasePathFs(afero.NewOsFs(), scope). Base-path rooting blocks lexical ../ traversal but does not prevent ordinary filesystem operations from following a symlink whose path is lexically inside the base.

The metadata layer records symlinks but does not consistently re-check the resolved target against the user's real scope:

  • In files/file.go, stat() calls LstatIfPossible, sets IsSymlink, and only invokes the WithinScope containment check when file.IsSymlink true. For Variant 1, this guard (where present) covers the final-element symlink; on the commit tested for Variant 1 the handler still resolved the target with opts.Fs.Stat(opts.Path) and served it. For Variant 2, LstatIfPossible follows a symlinked *ancestor* and returns the leaf as a regular file (IsSymlink false), so stat() returns early and the scope check never runs at all.
  • readListing in files/file.go follows symlink entries to display the target's metadata.
  • http/raw.go builds a file object for the requested path and serves non-directories; its archive walker getFiles follows symlinks via Stat/Open, pulling linked descendants into archive downloads.
  • http/resource.go writes request bodies with writeFile(d.user.Fs, r.URL.Path, ...), and the destination open follows symlinks.
  • http/tus_handlers.go (tusPostHandler, tusPatchHandler) calls MkdirAll/OpenFile on the request path directly with no containment check. Because a brand-new leaf does not stat an existing file, it skips the scope check entirely.
  • http/share.go stores a share for r.URL.Path without checking that the path is not a symlink escape; http/public.go later serves it for unauthenticated downloads (routed at http/http.go:90-91).
  • http/data.go applies dotfile and rule checks to the request path *string*, but never compares the resolved symlink target against the user's real scope.

Proof of concept

Variant 1 - symlink as final path component

Harness layout: server root is a temp directory; restricted user restricted is scoped to /u1 with create, modify, rename, share, and download permissions; a second scope /u2 holds the outside target /u2/secret.txt containing other-secret; and /u1/link-out is a symlink to /u2/secret.txt.

Confirmed bypasses (route-level tests against the real HTTP handlers):

  • GET /api/raw/link-out → 200 OK, body contains other-secret from /u2/secret.txt.
  • POST /api/resources/link-out?override=true → 200 OK, /u2/secret.txt changed to pwn.
  • POST /api/tus/link-out?override=true → 201, then PATCH /api/tus/link-out → 204, /u2/secret.txt changed.
  • POST /api/share/link-out → 200 OK, created a public share whose GET /api/public/dl/{hash} returned a body containing other-secret.

Minimal core of the read proof:

go
root := t.TempDir()
os.MkdirAll(filepath.Join(root, "u1"), 0755)
os.MkdirAll(filepath.Join(root, "u2"), 0755)
os.WriteFile(filepath.Join(root, "u2", "secret.txt"), []byte("other-secret"), 0644)
os.Symlink(filepath.Join(root, "u2", "secret.txt"), filepath.Join(root, "u1", "link-out"))

// restricted is a File Browser user scoped to /u1 with Download permission.
rr := authenticatedRequest(t, restricted, http.MethodGet, "/api/raw/link-out", nil)
if rr.Code != http.StatusOK || !strings.Contains(rr.Body.String(), "other-secret") {
    t.Fatalf("raw symlink exposed outside target: status=%d body=%q", rr.Code, rr.Body.String())
}

Variant 2 - file reached through a symlinked ancestor

Authenticated scoped user whose scope contains a directory symlink escape_link -> /srv/users/otheruser:

# The symlink itself is correctly blocked
GET /api/resources/escape_link              -> 403 Forbidden
# A regular file THROUGH the symlinked directory is not
GET /api/resources/escape_link/private.txt  -> 200 OK  {"content":"OTHER_USER_SECRET_DATA=...",...}
GET /api/raw/escape_link/private.txt        -> 200 OK  OTHER_USER_SECRET_DATA=...
# Create/overwrite THROUGH the symlinked directory (TUS)
POST  /api/tus/escape_link/injected.txt  (Upload-Length: 20) -> 201 Created
PATCH /api/tus/escape_link/injected.txt  (Upload-Offset: 0)  -> 204 No Content  (written into /srv/users/otheruser/)

Public directory share for /shared, where /shared/link -> ../private and private/secret.txt lives outside the share:

GET /api/public/dl/<hash>/link/secret.txt     -> 200 OK  symlink-secret
GET /api/public/share/<hash>/link/secret.txt  -> 200 OK  {"path":"/link/secret.txt", ...}

Requesting the whole share as an archive pulls link/secret.txt into the zip, and listing the share root exposes the link entry with its resolved target metadata.

Controls that held

The same harness confirmed that ordinary traversal is still rejected, so this is not generic ../ traversal:

  • GET /api/resources/../u2/secret.txt?checksum=sha256 did not succeed as the restricted user.
  • GET /api/resources/%2e%2e/u2/secret.txt did not succeed (encoded dot-dot).
  • POST /api/resources/../u2/new.txt did not create /u2/new.txt.
  • PATCH /api/resources/own.txt?action=rename&destination=/../u2/moved.txt did not move a file outside scope.

Affected code

users/users.go (scope setup); files/file.go (stat, readListing); http/raw.go (getFiles); http/resource.go (writeFile destination); http/tus_handlers.go (tusPostHandler, tusPatchHandler); http/share.go; http/public.go; http/http.go:90-91 (public routes); http/data.go (string-only path checks).

Remediation

Resolve symlinks and verify that the resolved target remains inside the user's real scoped root before any file operation - serving, sharing, writing, truncating, renaming, copying, or deleting. Specifically:

  • Call WithinScope (which resolves every path component with filepath.EvalSymlinks) for all paths in stat(), not only when the final element is a symlink. This closes the ancestor-symlink gap (Variant 2).
  • Add a WithinScope check before MkdirAll/OpenFile in tusPostHandler and tusPatchHandler, so a not-yet-existing leaf cannot skip containment.
  • Omit entries whose resolved target escapes the scope from readListing, and skip them in getFiles before stat/open/recursion.
  • Apply the same resolved-path check consistently to public share creation and public share serving.
  • As an alternative or defense-in-depth, reject symlinks for file operations unless an explicit administrator option enables them.

Add regression tests covering symlink reads, overwrites, TUS create/write, public shares (download, share-info, listing, and archive read paths), and the existing dot-dot controls - plus a positive test confirming that legitimately in-scope symlinks still resolve.

Limitations and non-claims

  • This is not generic ../ path traversal; dot-dot and encoded dot-dot controls held in the route-level tests.
  • This is not a proxy-auth confusion issue; the proofs use normal authenticated requests for a restricted user (and, for Variant 2's share case, an ordinary public-share recipient).
  • The proofs assume the relevant symlink already exists inside the scoped tree, or that another allowed workflow in the deployment can place it there - for example an SMB/NFS export, a Docker bind-mount, or an admin-created link. Web-UI-only creation of the symlink from scratch was not demonstrated.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in File Browser v2.63.13 and earlier allows both authenticated restricted users and unauthenticated public-share recipients to access and modify files outside their assigned scope by exploiting symlink resolution. Publicly available exploit code exists for this vulnerability, creating a data confidentiality and integrity risk for organizations using File Browser with scoped access controls.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: disable public-share functionality; restrict user scopes to exclude directories containing symlinks; monitor file access logs for cross-scope file access attempts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Prevalence
Medium
popular self-hosted Go file manager, common in Docker/homelab, not enterprise-ubiquitous
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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.1%
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
Medium

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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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