Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/filebrowser/filebrowser/v2
  4. ›
  5. CVE-2026-54090

CVE-2026-54090: File Browser has a Command Execution Allowlist Bypass via Shell Metacharacter Injection

June 12, 2026

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.

References

  • github.com/advisories/GHSA-8c9q-7855-wfxq
  • github.com/filebrowser/filebrowser/issues/5199
  • github.com/filebrowser/filebrowser/security/advisories/GHSA-8c9q-7855-wfxq
  • nvd.nist.gov/vuln/detail/CVE-2026-54090

Code Behaviors & Features

Detect and mitigate CVE-2026-54090 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 →

Affected versions

All versions before 2.33.8

Fixed versions

  • 2.33.8

Solution

Upgrade to version 2.33.8 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

go/github.com/filebrowser/filebrowser/v2/CVE-2026-54090.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 12 Jul 2026 12:17:11 +0000.