criticalVulnerability

CVE-2026-54088

## Overview 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**. ## Affected Location - **File:** `auth/hook.go` - **Function:** `HookAuth.RunCommand` ## CVSS v4.0 | Metric | Value | Rationale | |---|---|---| | Attack Vector (AV) | Network (N) | Exploitable via the login endpoint over HTTP from any network | | Attack Complexity (AC) | Low (L) | Single crafted HTTP request; no preparation needed | | Attack Requirements (AT) | None (N) | No race condition or special timing required | | Privileges Required (PR) | **None (N)** | **No account required — pre-authentication attack** | | User Interaction (UI) | None (N) | Fully automated; no victim action needed | | Vulnerable System Confidentiality (VC) | High (H) | Full read access to server filesystem and env | | Vulnerable System Integrity (VI) | High (H) | Arbitrary file write/modification | | Vulnerable System Availability (VA) | High (H) | Can kill processes, exhaust resources | | Subsequent System Confidentiality (SC) | None (N) | No direct impact on downstream systems assumed | | Subsequent System Integrity (SI) | None (N) | — | | Subsequent System Availability (SA) | None (N) | — | **Vector String:** `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` **Base Score: 9.3 (Critical)** > **Note:** `PR:None` is the critical differentiator from vulnerabilities 01 and 02. Because the injection point is the unauthenticated login endpoint, no account or session is required. A single HTTP request to the login API is sufficient to achieve

Properties

ghsa_id
GHSA-m93h-4hw7-5qcm
severity
critical
summary
File Browser: Command Injection via Authentication Hook Shell Substitution (Pre-Authentication RCE)
epss_score
0.00764
cve_id
CVE-2026-54088
is_ghsa_only
false
ghsa_published
2026-07-10T19:32:32Z
source_url
https://github.com/advisories/GHSA-m93h-4hw7-5qcm
epss_percentile
0.52632
ghsa_updated
2026-07-10T19:32:32Z

Related Entities (7)

ENRICHED_BY (1)

[Source]FIRST EPSS

HAS_WEAKNESS (3)

[Weakness]Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
[Weakness]Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
[Weakness]Missing Authentication for Critical Function

VULNERABLE_TO (1)

[Software]go/github.com/filebrowser/filebrowser/v2

AFFECTS (1)

[Software]go/github.com/filebrowser/filebrowser/v2

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-54088 — Ninja Signal Threat Intelligence | Ninja Signal