Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/filebrowser/filebrowser/v2
  4. ›
  5. CVE-2021-46398

CVE-2021-46398: Cross-Site Request Forgery (CSRF)

February 5, 2022 (updated February 11, 2022)

A Cross-Site Request Forgery vulnerability exists in Filebrowser 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.

References

  • packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html
  • febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html
  • febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/
  • github.com/advisories/GHSA-72wf-hwcq-65h9
  • github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d
  • nvd.nist.gov/vuln/detail/CVE-2021-46398
  • systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7

Code Behaviors & Features

Detect and mitigate CVE-2021-46398 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.18.0

Fixed versions

  • v2.18.0

Solution

Upgrade to version 2.18.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/filebrowser/filebrowser/v2/CVE-2021-46398.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 11 Nov 2026 12:16:42 +0000.