# CVE-2021-4080: Unrestricted Upload of File with Dangerous Type in crater-invoice/crater

- Severity: High 8.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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): 1.52%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-12T14:05:10.000Z
- Modified: 2026-06-17T04:19:00.310Z
- Also known as: GHSA-wppj-3pjr-9w79
- Weaknesses: CWE-434
- Assigned by: @huntrdev

## Description

crater is vulnerable to Unrestricted Upload of File with Dangerous Type

(As written by CVE List.)

## Affected

- crater-invoice crater-invoice/crater: from unspecified before 6.0.0
- bytefury/crater (Packagist): before 6.0.0
- craterapp crater: before 6.0.0

## Every score

- @huntrdev: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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/d7453360-baca-4e56-985f-481275fa38db> (exploit, patch, third-party-advisory, web)
- <https://github.com/crater-invoice/crater/commit/cdc913d16cf624aee852bc9163a7c6ffc8d1da9d> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4080> (advisory)
- <https://github.com/crater-invoice/crater> (package)

## Sources

- CVE List: [CVE-2021-4080](https://www.cve.org/CVERecord?id=CVE-2021-4080), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-wppj-3pjr-9w79](https://github.com/advisories/GHSA-wppj-3pjr-9w79), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-4080](https://nvd.nist.gov/vuln/detail/CVE-2021-4080), Public domain, modified 2026-06-17

---

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