# CVE-2022-44942: Casdoor arbitrary file deletion vulnerability via uploadFile function

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/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.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-07T00:00:00.000Z
- Modified: 2026-06-17T05:09:03.977Z
- Also known as: GHSA-f93f-55c2-8c89, GO-2022-1153
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/casdoor/casdoor (Go): before 1.126.1
- casbin casdoor: before 1.126.1

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/casdoor/casdoor/issues/1171> (exploit, issue-tracking, patch, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-44942> (advisory)
- <https://github.com/casdoor/casdoor/pull/1174> (fix, web)
- <https://github.com/casdoor/casdoor> (package)
- <https://github.com/casdoor/casdoor/releases/tag/v1.126.1> (web)
- <https://github.com/advisories/GHSA-f93f-55c2-8c89> (advisory)

## Sources

- CVE List: [CVE-2022-44942](https://www.cve.org/CVERecord?id=CVE-2022-44942), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-f93f-55c2-8c89](https://github.com/advisories/GHSA-f93f-55c2-8c89), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1153](https://pkg.go.dev/vuln/GO-2022-1153), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-44942](https://nvd.nist.gov/vuln/detail/CVE-2022-44942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-44942 · Whole record: https://cve.day/CVE-2022-44942.json · Rebuilt by cve.day 2026-11-25T22:58:17.278Z
