GHSA-m93h-4hw7-5qcm: File Browser: Command Injection via Authentication Hook Shell Substitution (Pre-Authentication RCE)
File Browser versions prior to 2.63.6 contain a critical pre-authentication remote code execution vulnerability in the Hook Authentication feature. The vulnerability arises because user-supplied credentials are unsafely interpolated into a shell command without sanitization, allowing an unauthenticated attacker to inject arbitrary OS commands via the login interface. Exploitation requires only a single crafted HTTP request and no valid credentials. Successful exploitation grants the attacker full control over the server process running File Browser, enabling arbitrary command execution with high confidentiality, integrity, and availability impact.
AI Analysis
Technical Summary
The Hook Authentication feature in File Browser (file auth/hook.go, function HookAuth.RunCommand) allows administrators to delegate login verification to an external shell command. This command string is constructed by substituting the username and password using Go's os.Expand function without any escaping or validation. An attacker can inject shell metacharacters in the username or password fields at the login screen, causing the server to execute arbitrary OS commands before any authentication occurs. This results in a critical pre-authentication remote code execution vulnerability (CWE-78, CWE-88, CWE-306). The vulnerability affects all versions prior to 2.63.6. The CVSS v4.0 base score is 9.3 (Critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on system confidentiality, integrity, and availability.
Potential Impact
An unauthenticated remote attacker can execute arbitrary operating system commands on the server hosting File Browser with the privileges of the File Browser process. This allows full compromise of the server, including reading sensitive data, modifying or deleting files, and disrupting service availability. Because the vulnerability is exploitable without authentication and requires only a single request, it poses a severe risk to any public-facing File Browser instance using the Hook Authentication feature.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should disable the Hook Authentication feature or avoid using external shell commands for authentication. Avoid exposing the File Browser login interface to untrusted networks. Monitor vendor communications for an official patch or update that addresses this command injection vulnerability.
GHSA-m93h-4hw7-5qcm: File Browser: Command Injection via Authentication Hook Shell Substitution (Pre-Authentication RCE)
Description
File Browser versions prior to 2.63.6 contain a critical pre-authentication remote code execution vulnerability in the Hook Authentication feature. The vulnerability arises because user-supplied credentials are unsafely interpolated into a shell command without sanitization, allowing an unauthenticated attacker to inject arbitrary OS commands via the login interface. Exploitation requires only a single crafted HTTP request and no valid credentials. Successful exploitation grants the attacker full control over the server process running File Browser, enabling arbitrary command execution with high confidentiality, integrity, and availability impact.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Hook Authentication feature in File Browser (file auth/hook.go, function HookAuth.RunCommand) allows administrators to delegate login verification to an external shell command. This command string is constructed by substituting the username and password using Go's os.Expand function without any escaping or validation. An attacker can inject shell metacharacters in the username or password fields at the login screen, causing the server to execute arbitrary OS commands before any authentication occurs. This results in a critical pre-authentication remote code execution vulnerability (CWE-78, CWE-88, CWE-306). The vulnerability affects all versions prior to 2.63.6. The CVSS v4.0 base score is 9.3 (Critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on system confidentiality, integrity, and availability.
Potential Impact
An unauthenticated remote attacker can execute arbitrary operating system commands on the server hosting File Browser with the privileges of the File Browser process. This allows full compromise of the server, including reading sensitive data, modifying or deleting files, and disrupting service availability. Because the vulnerability is exploitable without authentication and requires only a single request, it poses a severe risk to any public-facing File Browser instance using the Hook Authentication feature.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should disable the Hook Authentication feature or avoid using external shell commands for authentication. Avoid exposing the File Browser login interface to untrusted networks. Monitor vendor communications for an official patch or update that addresses this command injection vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m93h-4hw7-5qcm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54088"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 4.0
Threat ID: 6a520eb368715ace438f526e
Added to database: 07/11/2026, 09:36:51 UTC
Last enriched: 07/11/2026, 09:50:01 UTC
Last updated: 07/12/2026, 04:01:24 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.