File Browser 2.0.0-2.63.1 Hook Runner - Command Injection
Title source: manualExploitation Summary
EIP tracks 2 public exploits for CVE-2026-35585. PoCs published by adminlove520, Saku0512.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-35585, an OS command injection vulnerability in File Browser versions 2.0.0 to 2.33.1. The exploit leverages insufficient sanitization of environment variables in custom command hooks to achieve remote code execution via crafted filenames.
Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.0.0 until 2.33.8, the hook system in File Browser — which executes administrator-defined shell commands on file events such as upload, rename, and delete — is vulnerable to OS command injection. Variable substitution for values like $FILE and $USERNAME is performed via os.Expand without sanitization. An attacker with file write permission can craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands when the hook fires. This results in Remote Code Execution (RCE). This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations.
Exploits (2)
This repository contains a functional exploit for CVE-2026-35585, an OS command injection vulnerability in File Browser versions 2.0.0 to 2.33.1. The exploit leverages insufficient sanitization of environment variables in custom command hooks to achieve remote code execution via crafted filenames.
This repository contains a functional exploit for CVE-2026-35585, an OS command injection vulnerability in File Browser versions 2.0.0 to 2.33.1. The exploit leverages insufficient sanitization of environment variables in custom command hooks to achieve remote code execution via crafted filenames.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H