{"id":"CVE-2021-46398","aliases":["CVE-2021-46398","GHSA-72wf-hwcq-65h9","GO-2022-0563"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Request Forgery in Filebrowser","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A Cross-Site Request Forgery (CSRF) 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"Existe una vulnerabilidad de falsificación de solicitud en sitios cruzados en Filebrowser versiones anteriores 2.18.0 que permite a los atacantes crear un usuario de puerta trasera con privilegios de administrador y obtener acceso al sistema de archivos a través de una página web HTML maliciosa que se envía a la víctima. Un administrador puede ejecutar comandos utilizando el FileBrowser y por lo tanto conduce a RCE","source":"nvd"}],"published":"2022-02-04T15:05:05.000Z","modified":"2026-06-17T04:14:51.080Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.18.0"}],"ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.18.0"}],"ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.18.0"}],"vendor":"filebrowser","product":"filebrowser","cpe":"cpe:2.3:a:filebrowser:filebrowser:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://febin0x4e4a.blogspot.com/2022/01/critical-csrf-in-filebrowser.html","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://systemweakness.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://packetstormsecurity.com/files/165885/FileBrowser-2.17.2-Code-Execution-Cross-Site-Request-Forgery.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://febinj.medium.com/critical-csrf-to-rce-in-filebrowser-865a3c34b8e7","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46398","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/filebrowser/filebrowser/issues/1621","tags":["web"],"sources":["ghsa","go"]},{"url":"https://febin0x4e4a.wordpress.com/2022/01/19/critical-csrf-in-filebrowser","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/filebrowser/filebrowser","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0563","tags":["web"],"sources":["ghsa"]}],"credits":["Febin"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46398","url":"https://www.cve.org/CVERecord?id=CVE-2021-46398","licence":"CVE Terms of Use","modified":"2024-08-04T05:02:11.590Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-72wf-hwcq-65h9","url":"https://github.com/advisories/GHSA-72wf-hwcq-65h9","licence":"CC-BY-4.0","modified":"2024-05-20T21:22:49.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0563","url":"https://pkg.go.dev/vuln/GO-2022-0563","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46398","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46398","licence":"Public domain","modified":"2026-06-17T04:14:51.080Z"}],"updatedAt":"2026-11-25T22:58:06.769Z","epss":{"score":0.06717,"percentile":0.94068,"date":"2026-12-01T12:00:22.000Z"}}