CVE-2022-44942
HIGH 8.1CVSS 3.1Casdoor arbitrary file deletion vulnerability via uploadFile function
Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
- Published
- 7 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-f93f-55c2-8c89GO-2022-1153
- Sources
- NVDJSONOSV GHSA-f93f-55c2-8c89JSONOSV GO-2022-1153JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | casbin | casdoorcpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:* |
< 1.126.1 | 1.126.1 |
| OSV | Go | github.com/casdoor/casdoor | < 1.126.1 | 1.126.1 |
References
- https://github.com/casdoor/casdoor/issues/1171 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2022-44942 · ADVISORY
- https://github.com/casdoor/casdoor/pull/1174 · WEB, FIX
- 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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Dec 2022)