# CVE-2021-3846: Unrestricted Upload of File with Dangerous Type in firefly-iii/firefly-iii

- Severity: Medium 6.3 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:H/PR:H/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): 0.78%, higher than 52% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-19T12:30:26.000Z
- Modified: 2026-06-17T04:05:53.110Z
- Also known as: GHSA-5gq7-826w-8282
- Weaknesses: CWE-434
- Assigned by: @huntrdev

## Description

firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type

(As written by CVE List.)

## Affected

- firefly-iii firefly-iii/firefly-iii: from unspecified before 5.6.2
- grumpydictator/firefly-iii (Packagist): before 5.6.2
- firefly-iii firefly_iii: before 5.6.2

## Every score

- @huntrdev: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/5267ec1c-d204-40d2-bd4f-6c2dd495ee18> (exploit, patch, third-party-advisory, web)
- <https://github.com/firefly-iii/firefly-iii/commit/a85b6420c19ace35134f896e094e1971d8c7954b> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3846> (advisory)

## Sources

- CVE List: [CVE-2021-3846](https://www.cve.org/CVERecord?id=CVE-2021-3846), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-5gq7-826w-8282](https://github.com/advisories/GHSA-5gq7-826w-8282), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-3846](https://nvd.nist.gov/vuln/detail/CVE-2021-3846), Public domain, modified 2026-06-17

---

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