Skip to main content

File Browser EUVDEUVD-2026-39511

| CVE-2026-54090 HIGH
Command Injection (CWE-77)
2026-06-12 https://github.com/filebrowser/filebrowser GHSA-8c9q-7855-wfxq
8.7
CVSS 4.0 · Vendor: https://github.com/filebrowser/filebrowser
View

Attack ChainAIDerived

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

  1. Access
    Authenticate and obtain JWT via POST /api/login
  2. Delivery
    Open /api/command/ WebSocket with X-Auth token
  3. Exploit
    Submit allowlisted command with chained payload (ls; id; cat /etc/passwd)
  4. Execution
    Allowlist validates only the first token
  5. Persist
    Shell re-parses metacharacters and chains commands
  6. Impact
    Arbitrary OS commands execute as root server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires a specific, non-default chain of conditions: (1) the Command Execution feature must be explicitly enabled (--disable-exec=false), which is disabled by default from v2.33.8 onward including on upgraded installs; (2) a shell interpreter must be configured in settings.Shell (e.g. /bin/sh -c) - without a configured shell the raw string is not re-parsed and the bypass does not apply; (3) the attacker must be an authenticated user (PR:L) holding Execute permission with at least one allowed command in their allowlist. Given those, exploitation is trivial over the network via the /api/command/ WebSocket using shell metacharacters (;, |, backticks, $()). Limiting factors that reduce real-world risk: the feature is off by default and the vendor warns against enabling it, valid authentication plus an explicit Execute grant is needed, and impact is bounded by the server process privilege (though that is root in the default container).

Impact

Signals here pull in opposite directions, so raw CVSS overstates urgency for most environments. The CVSS 4.0 base score is 8.7 (High) with AV:N/AC:L/PR:L/UI:N and full VC/VI/VA:H, reflecting trivial network exploitation and total host compromise once preconditions are met. However EPSS is only 0.02% (7th percentile), there is no CISA KEV listing, and exploitation is gated behind a non-default, vendor-deprecated feature: command execution must be explicitly enabled, a shell must be configured, and the attacker must already be an authenticated user (PR:L) granted Execute permission with at least one allowed command. The vendor disabled this feature by default from 2.33.8 for all installations including existing ones, sharply shrinking the real exploitable population. A complete PoC exists, raising risk for the minority of operators who deliberately re-enabled the feature despite vendor warnings. Net: a genuine root-level RCE for that specific misconfiguration, but low real-world priority for default deployments. Note the AC:L rating does not capture the non-default configuration requirement, which is better treated as an environmental limiter than as attack complexity.

Exploit ScenarioDerived

An authenticated File Browser user granted Execute permission with a narrow allowlist (e.g. git,ls,cat) on an instance where an admin enabled command execution with /bin/sh -c opens the /api/command/ WebSocket and submits 'ls; id; whoami; cat /etc/passwd'. The allowlist accepts the leading 'ls', but the shell executes the entire chain, returning command output and giving the attacker arbitrary code execution as the server process - root in the stock Docker image. A complete step-by-step PoC including JWT acquisition is published in the advisory.

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

AnalysisAIv3 – Jun 25, 2026

Authenticated command injection in File Browser (github.com/filebrowser/filebrowser/v2 before 2.33.8) lets any user holding Execute permission bypass the command allowlist when a shell interpreter such as /bin/sh -c is configured. Because the allowlist validates only the first token while the full raw string is passed to the shell, an attacker chains arbitrary OS commands after a permitted one using metacharacters (;, |, backticks, $()), executing them at the server process privilege - root in the default Docker image. A detailed working PoC is published in the GHSA advisory; EPSS is very low (0.02%, 7th percentile) and the vulnerable Command Execution feature is disabled by default from 2.33.8 onward, including for upgraded existing installations.

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

Command allowlist bypass in File Browser (github.com/filebrowser/filebrowser/v2, versions < 2.33.8) lets an authenticated user with Execute permission run arbitrary OS commands when a shell interpreter is configured. The per-user command allowlist only validates the first token while the entire raw input is passed to the configured shell (e.g. /bin/sh -c), so metacharacters such as ;, |, backticks, and $() chain arbitrary commands after a permitted one. A detailed working PoC exists (publicly available exploit code), but EPSS is very low (0.02%, 7th percentile) and the feature is disabled by default from v2.33.8 onward, so realistic exposure is limited to operators who deliberately enabled command execution.

v1 Jun 12, 2026 - 23:18

Command execution allowlist bypass in File Browser (github.com/filebrowser/filebrowser v2) allows authenticated users with Execute permission to run arbitrary OS commands by chaining shell metacharacters (semicolons, pipes, backticks, $()) after a permitted command. The flaw exists when an instance administrator enables the Command Execution feature and configures a shell interpreter (e.g. /bin/sh -c); ParseCommand validates only the first token against the allowlist but passes the entire raw string to the shell. No public exploit identified at time of analysis beyond the detailed PoC in the advisory itself, and the feature has been disabled by default since v2.33.8.

RemediationAI

Vendor-released patch: upgrade to File Browser 2.33.8 or later, which disables the Command Execution feature by default for both new and existing installations; related allowlist hardening also landed in 2.33.10. The most effective control is to leave command execution disabled - run with --disable-exec=true (the new default) so the vulnerable code path is unreachable. If you do not need shell command execution, do not re-enable it; the vendor explicitly warns against turning the feature on. If you must keep it enabled, avoid configuring a shell interpreter (clear settings.Shell so commands run via direct exec without /bin/sh -c re-parsing), which removes the metacharacter chaining vector at the cost of losing shell features like pipes and globbing; additionally restrict Execute permission to a minimal set of trusted users, and run the container as a non-root user to limit blast radius rather than the default root. Refer to GHSA-8c9q-7855-wfxq and issue #5199 for vendor guidance.

Affected VersionsENISA

filebrowser < 2.33.8

Affected Packages

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

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 application for browsing and managing files, commonly run as the official filebrowser/filebrowser Docker container. The flaw is CWE-77 (Improper Neutralization of Special Elements used in a Command). In runner/parser.go, ParseCommand calls SplitCommandAndArgs to extract the first token (name) for the allowlist check, but when settings.Shell is set it appends the entire untrimmed user input as a single argument to the shell invocation (e.g. /bin/sh -c "<raw>"). In http/commands.go, commandsHandler checks slices.Contains(d.user.Commands, name) - so 'ls' passes - then runs exec.Command with the shell, which re-parses and honors all metacharacters in the rest of the string. The affected package per CPE is pkg:go/github.com_filebrowser_filebrowser_v2. This is explicitly distinct from CVE-2025-52995 (regex partial matching) and CVE-2025-52903 (GTFOBins subcommands); the prior slices.Contains hardening does not address shell metacharacter chaining.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable WebSocket API (AV:N); requires an authenticated user with Execute permission (PR:L), no UI; bypass yields full host command execution (C/I/A:H) within the server's process scope (S:U).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 25, 2026 - 19:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 25, 2026 - 19:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 25, 2026 - 19:22 NVD
8.7 (HIGH)

DescriptionCVE.org

> [!NOTE] > This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations. To exploit this vulnerability, the instance administrator must turn on a feature and ignore all the warnings about known vulnerabilities. We're publishing this new advisory to make it clear that all vulnerabilities concerning this feature are disclosed. > > For more information about tracking vulnerability issues related to the Command Execution features, check https://github.com/filebrowser/filebrowser/issues/5199.

Summary

When a shell interpreter is configured (e.g. /bin/sh -c), the command allowlist can be bypassed through shell metacharacters. The allowlist validates only the first token of user input, but the entire raw string is handed to the shell - semicolons, pipes, backticks, and $() all work to chain arbitrary commands after a permitted one.

This is a distinct issue from CVE-2025-52995 (regex partial matching, fixed in 2.33.10) and CVE-2025-52903 (GTFOBins-style subcommands). The slices.Contains fix does not prevent this bypass.

Affected Location

  • runner/parser.go, function ParseCommand (lines 10-25)
  • http/commands.go, function commandsHandler (lines 72-86)

Root Cause

ParseCommand extracts the first token via SplitCommandAndArgs for the allowlist check, then passes the entire raw input to the shell:

go
func ParseCommand(s *settings.Settings, raw string) (command []string, name string, err error) {
    name, args, err := SplitCommandAndArgs(raw)
    if len(s.Shell) == 0 || s.Shell[0] == "" {
        command = append(command, name)
        command = append(command, args...)
    } else {
        command = append(command, s.Shell...)
        command = append(command, raw)   // full user input, metacharacters included
    }
    return command, name, nil
}

In commandsHandler:

go
if !slices.Contains(d.user.Commands, name) {  // name = "ls", passes
    // reject
}
cmd := exec.Command(command[0], command[1:]...)
// actually executes: /bin/sh -c "ls; id; cat /etc/shadow"

name is ls - allowed. But /bin/sh -c interprets the rest.

PoC

Prerequisites:

  • Command execution enabled (--disable-exec=false)
  • Shell configured to /bin/sh -c
  • User has Execute permission with an allowlist, e.g. git,ls,cat

Steps:

  1. Log in, grab a JWT:
POST /api/login
{"username":"admin","password":"..."}
  1. Open a WebSocket to /api/command/ with header X-Auth: <jwt>.
  2. Send:
ls; id; whoami; cat /etc/passwd
  1. All four commands execute and output is returned. Sending just whoami alone returns "Command not allowed." - the allowlist is active but bypassable.

Output:

bin
etc
home
...
===BYPASS===
uid=0(root) gid=0(root) groups=0(root),10(wheel)
root
root:x:0:0:root:/root:/bin/sh

Tested against commit d236f1c (frontend v3.0.0) on the official Docker image filebrowser/filebrowser:latest.

Impact

Any user with Execute permission and at least one allowed command can run arbitrary OS commands at the privilege level of the server process. In the default container this is root.

Executive ViewAI

Why It Matters

File Browser versions before 2.33.8 contain an authenticated command injection vulnerability allowing users with Execute permission to bypass the command allowlist and execute arbitrary OS commands at server privilege level (root by default in containerized deployments). While the vulnerable feature is disabled by default and current exploitation probability is statistically minimal (0.02% EPSS), organizations operating with shell interpreter command execution enabled face risk of complete infrastructure compromise. Immediate patching to version 2.33.8 is required for affected deployments.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Medium
popular self-hosted file manager, common in Docker homelab and SMB deployments
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
No
Human Impact
Medium

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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