{"id":"CVE-2021-3846","aliases":["EUVD-2022-2585","GHSA-5gq7-826w-8282"],"status":"published","title":"Unrestricted Upload of File with Dangerous Type in firefly-iii/firefly-iii","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","severity":{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00779,"percentile":0.56174,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-434"],"published":"2021-10-19T12:30:26Z","modified":"2026-10-20T10:54:51Z","fixes":[{"ecosystem":"Packagist","package":"grumpydictator/firefly-iii","fixed_in":["5.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"grumpydictator/firefly-iii","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"grumpydictator/firefly-iii","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.6.2"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.1","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.10","3.10.1","3.10.2","3.10.3","3.10.4","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.3.1","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","3.3.7","3.3.8","3.3.9","3.4","3.4.0.1","3.4.0.10","3.4.0.2","3.4.0.3","3.4.0.4","3.4.0.5","3.4.0.6","3.4.0.7","3.4.0.8","3.4.0.9","3.4.1","3.4.10","3.4.11","3.4.2","3.4.3","3.4.4","3.4.4.1","3.4.4.2","3.4.5","3.4.6","3.4.6.1","3.4.7","3.4.8","3.4.9","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.6.1","3.6.0","3.6.1","3.7.0","3.7.1","3.7.2","3.7.2.1","3.7.2.2","3.7.2.3","3.8.0","3.8.1","3.8.2","3.8.3","3.8.4","3.9.0","3.9.1","4.0.0","4.0.1","4.0.2","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.3.6","4.3.7","4.3.8","4.4.0","4.4.1","4.4.2","4.4.3","4.5.0","4.6.0","4.6.1","4.6.10","4.6.11","4.6.11.1","4.6.12","4.6.13","4.6.2","4.6.3","4.6.3.1","4.6.4","4.6.5","4.6.6","4.6.7","4.6.8","4.6.9","4.7.0","4.7.1","4.7.1.1","4.7.1.2","4.7.1.3","4.7.1.4","4.7.10","4.7.11","4.7.12","4.7.12.1","4.7.13","4.7.14","4.7.15","4.7.16","4.7.17","4.7.17.1","4.7.17.2","4.7.17.3","4.7.17.4","4.7.17.5","4.7.17.6","4.7.2","4.7.2.1","4.7.2.2","4.7.3","4.7.3.1","4.7.3.2","4.7.4","4.7.5","4.7.5.1","4.7.5.2","4.7.5.3","4.7.6","4.7.6.1","4.7.6.2","4.7.7","4.7.8","4.7.9","4.8.0","4.8.0.1","4.8.0.2","4.8.0.3","4.8.1","4.8.1.1","4.8.1.2","4.8.1.3","4.8.1.4","4.8.1.5","4.8.1.6","4.8.1.7","4.8.1.8","4.8.2","4.8.2-alpha.1","4.8.2-alpha.2","4.8.2-alpha.3","4.8.2-alpha.4","4.8.2-alpha.5","4.8.2-alpha.6","4.8.2-beta.1","4.8.2-beta.2","4.8.3-alpha.1","5.0.0","5.0.0-alpha.1","5.0.0-alpha.2","5.0.0-beta.1","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.1.0","5.1.0-alpha.1","5.1.0-beta.1","5.1.1","5.2.0","5.2.0-alpha.1","5.2.0-beta.1","5.2.1","5.2.2","5.2.3","5.2.4","5.2.5","5.2.6","5.2.7","5.2.8","5.3.0","5.3.0-alpha.1","5.3.0-beta.1","5.3.0-beta.2","5.3.1","5.3.2","5.3.3","5.4.0","5.4.0-alpha.1","5.4.0-alpha.2","5.4.0-alpha.3","5.4.0-beta.1","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.5.0","5.5.0-beta.1","5.5.0-beta.2","5.5.0-beta.3","5.5.1","5.5.10","5.5.11","5.5.12","5.5.13","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.0-alpha.1","5.6.0-alpha.2","5.6.1"]}],"products":[{"vendor":"firefly-iii","product":"firefly-iii/firefly-iii"},{"vendor":"firefly-iii","product":"firefly_iii"}],"references":[{"url":"https://huntr.dev/bounties/5267ec1c-d204-40d2-bd4f-6c2dd495ee18","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/firefly-iii/firefly-iii/commit/a85b6420c19ace35134f896e094e1971d8c7954b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3846","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5gq7-826w-8282"}],"sources":{"cve":[{"id":"CVE-2021-3846","title":"Unrestricted Upload of File with Dangerous Type in firefly-iii/firefly-iii","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-10-19T12:30:26Z","modified":"2024-08-03T17:09:09.516Z","cvss":[{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:33:04.360272Z"}],"euvd":[{"id":"EUVD-2022-2585","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-10-19T12:30:26Z","modified":"2024-08-03T17:09:09Z","cvss":[{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium"}],"updated_at":"2026-11-03T03:25:11.376657Z"}],"ghsa":[{"id":"GHSA-5gq7-826w-8282","title":"Unrestricted File Upload vulnerability in Firefly III","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-05-24T19:18:01Z","modified":"2023-07-06T23:51:24Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:36:56.605555Z"}],"nvd":[{"id":"CVE-2021-3846","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-10-19T13:15:11.567Z","modified":"2026-06-17T04:05:53.11Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:00.137719Z"}],"osv":[{"id":"CVE-2021-3846","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2021-10-19T13:15:11.567Z","modified":"2026-10-20T10:54:51.753574835Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"GHSA-5gq7-826w-8282","title":"Unrestricted File Upload vulnerability in Firefly III","description":"firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-05-24T19:18:01Z","modified":"2024-02-16T08:18:59.368852Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:38.213481Z"}]}}
