Skip to content
Fencer Vulns
high 8.8

CVE-2021-46398 json

Cross-Site Request Forgery in Filebrowser

published 2022-02-04 4 y ago modified 2026-06-17 4 mo ago also GHSA-72wf-hwcq-65h9 , GO-2022-0563 , EUVD-2022-0876

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.7%
EPSS 6.7% chance of exploitation in 30 days, percentile 93%
public exploits
1
Exploit-DB

Summary

A Cross-Site Request Forgery vulnerability exists in Filebrowser < 2.18.0 that allows attackers to create a backdoor user with admin privilege and get access to the filesystem via a malicious HTML webpage that is sent to the victim. An admin can run commands using the FileBrowser and hence it leads to RCE.

Patch / fix

  • go github.com/filebrowser/filebrowser/v2 2.18.0
  • filebrowser filebrowser 2.18.0

Timeline

  1. Published
  2. First public exploit (EDB-50717)

Exploit prediction

6.72% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-50717 FileBrowser 2.17.2 - Cross Site Request Forgery (CSRF) to Remote Code Execution (RCE) webapps, 2022-02-08
  • febin0x4e4a.blogspot.com https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html referenced PoC, tagged "exploit" by a source, unverified
  • febin0x4e4a.wordpress.com https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/ referenced PoC, tagged "exploit" by a source, unverified
  • systemweakness.com https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7 referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html referenced PoC, tagged "exploit" by a source, unverified
  • febinj.medium.com https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/filebrowser/filebrowser/v2
<2.18.0
2.18.0

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.