SecurityContext

CVE-2025-52903: File Browser - Command Injection

  • Cve: CVE-2025-52903
  • Name: File Browser - Command Injection
  • Description: File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. In versions on the 2.x branch prior to 2.33.10, the Command Execution feature of File Browser only allows the execution of shell command which have been predefined on a user-specific allowlist. Many tools allow the execution of arbitrary different commands, rendering this limitation void. The concrete impact depends on the commands being granted to the attacker, but the large number of standard commands allowing the execution of subcommands makes it likely that every user having the `Execute commands` permissions can exploit this vulnerability. Everyone who can exploit it will have full code execution rights with the uid of the server process. Version 2.33.10 contains a check for whether a command is allowed when using shell.
  • Impact: Users with execute commands permission can run arbitrary code with server process privileges, leading to full server compromise.
  • Remediation: Disable 'Execute commands' permission for all accounts or update to a version where the feature is opt-in and disabled by default.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: User must have 'Execute commands' permission
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.01327
  • Epss percentile: 0.71586
  • Assignee: [email protected]
  • Published at: 2025-06-26T19:15:21Z
  • Age in days: 516
  • Modified at: 2026-06-17T09:37:14Z
  • Public exploits total: 1
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-52903
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

Public exploits

UrlSourceAdded date
https://github.com/filebrowser/filebrowser/security/advisories/GHSA-3q2w-42mv-cph4nvd2025-06-26

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/filebrowser/filebrowser/security/advisories/GHSA-3q2w-42mv-cph4Exploit, Mitigation, Vendor Advisory
https://github.com/filebrowser/filebrowser/issues/5199Issue Tracking
https://github.com/GoogleContainerTools/distrolessProduct
https://manpages.debian.org/bookworm/util-linux/prlimit.1.en.htmlTechnical Description
https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108
https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-02_Filebrowser_Shell_Commands_Can_Spawn_Other_Commands
https://pkg.go.dev/vuln/GO-2025-3786

Products

ProductAffectedPlatform boundSourcesUrl
filebrowser:filebrowser= 2.32.0nonvd/v1/products/filebrowser/filebrowser

Projects

RepositoryLink kindsIndexedUrl
filebrowser/filebrowsercommit, fix, issues, package, security_advisoryyes/v1/repositories/filebrowser/filebrowser

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-06-26
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 3606
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports