# CVE-2021-46398: Cross-Site Request Forgery in Filebrowser

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.72%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 5 links below, marked "exploit"
- Published: 2022-02-04T15:05:05.000Z
- Modified: 2026-06-17T04:14:51.080Z
- Also known as: GHSA-72wf-hwcq-65h9, GO-2022-0563
- Weaknesses: CWE-352
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/filebrowser/filebrowser/v2 (Go): before 2.18.0
- filebrowser filebrowser: before 2.18.0

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html> (exploit, third-party-advisory, web)
- <https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/> (exploit, third-party-advisory)
- <https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7> (exploit, third-party-advisory, web)
- <http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7> (exploit, third-party-advisory, web)
- <https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46398> (advisory)
- <https://github.com/filebrowser/filebrowser/issues/1621> (web)
- <https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser> (web)
- <https://github.com/filebrowser/filebrowser> (web)
- <https://pkg.go.dev/vuln/GO-2022-0563> (web)

## Sources

- CVE List: [CVE-2021-46398](https://www.cve.org/CVERecord?id=CVE-2021-46398), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-72wf-hwcq-65h9](https://github.com/advisories/GHSA-72wf-hwcq-65h9), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2022-0563](https://pkg.go.dev/vuln/GO-2022-0563), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2021-46398](https://nvd.nist.gov/vuln/detail/CVE-2021-46398), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46398 · Whole record: https://cve.day/CVE-2021-46398.json · Rebuilt by cve.day 2026-11-25T22:58:06.769Z
