{"id":"CVE-2021-46398","aliases":["EUVD-2022-0876","GHSA-72wf-hwcq-65h9","GO-2022-0563"],"status":"published","title":"Cross-Site Request Forgery in Filebrowser","description":"A Cross-Site Request Forgery vulnerability exists in Filebrowser \u003c 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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.06717,"percentile":0.93982,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-352"],"published":"2022-02-04T15:05:05Z","modified":"2026-10-20T10:54:14Z","exploits":[{"source":"exploitdb","id":"EDB-50717","title":"FileBrowser 2.17.2 - Cross Site Request Forgery (CSRF) to Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2022-02-08","url":"https://www.exploit-db.com/exploits/50717"},{"source":"pocgithub","id":"LalieA/CVE-2021-46398","title":"LalieA/CVE-2021-46398","date":"2023-01-03","url":"https://github.com/LalieA/CVE-2021-46398"},{"source":"pocgithub","id":"febinrev/CVE-2021-46398_Chamilo-LMS-RCE","title":"febinrev/CVE-2021-46398_Chamilo-LMS-RCE","date":"2022-03-22","url":"https://github.com/febinrev/CVE-2021-46398_Chamilo-LMS-RCE"}],"fixes":[{"ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","fixed_in":["2.18.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.18.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.18.0"}]}]}],"products":[{"vendor":"filebrowser","product":"filebrowser"}],"references":[{"url":"https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46398","tags":["advisory"]},{"url":"https://github.com/filebrowser/filebrowser/issues/1621","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0563","tags":["web"]},{"url":"https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser","tags":["web"]},{"url":"https://github.com/advisories/GHSA-72wf-hwcq-65h9"},{"url":"https://github.com/filebrowser/filebrowser","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-46398","description":"A Cross-Site Request Forgery vulnerability exists in Filebrowser \u003c 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.","status":"published","published":"2022-02-04T15:05:05Z","modified":"2024-08-04T05:02:11.59Z","updated_at":"2026-11-02T14:33:02.930115Z"}],"euvd":[{"id":"EUVD-2022-0876","description":"A Cross-Site Request Forgery vulnerability exists in Filebrowser \u003c 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.","status":"published","published":"2022-02-04T15:05:05Z","modified":"2024-08-04T05:02:11Z","updated_at":"2026-11-03T03:08:23.591313Z"}],"ghsa":[{"id":"GHSA-72wf-hwcq-65h9","title":"Cross-Site Request Forgery in Filebrowser","description":"A Cross-Site Request Forgery (CSRF) vulnerability exists in Filebrowser \u003c 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.","status":"published","published":"2022-02-05T00:00:31Z","modified":"2024-05-20T21:22:52Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:50.750599Z"}],"nvd":[{"id":"CVE-2021-46398","description":"A Cross-Site Request Forgery vulnerability exists in Filebrowser \u003c 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.","status":"published","published":"2022-02-04T16:15:07.907Z","modified":"2026-06-17T04:14:51.08Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:07:04.178977Z"}],"osv":[{"id":"CVE-2021-46398","description":"A Cross-Site Request Forgery vulnerability exists in Filebrowser \u003c 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.","status":"published","published":"2022-02-04T16:15:07.907Z","modified":"2026-10-20T10:54:14.247748048Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"GHSA-72wf-hwcq-65h9","title":"Cross-Site Request Forgery in Filebrowser","description":"A Cross-Site Request Forgery (CSRF) vulnerability exists in Filebrowser \u003c 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.","status":"published","published":"2022-02-05T00:00:31Z","modified":"2024-05-20T21:22:49Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:40.308826Z"},{"id":"GO-2022-0563","title":"Cross-site request forgery in github.com/filebrowser/filebrowser/v2","description":"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.","status":"published","published":"2022-02-05T00:00:31Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
