CVE-2022-38638
CRITICAL 9.1CVSS 3.1Casdoor arbitrary file write vulnerability
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.
- Published
- 9 Sep 2022
- Last modified
- 4 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-9vm3-r8gq-cr6xGO-2022-1006PYSEC-2022-43190
- Sources
- NVDJSONOSV GHSA-9vm3-r8gq-cr6xJSONOSV GO-2022-1006JSONOSV PYSEC-2022-43190JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/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.97.3:*:*:*:*:*:*:* |
= 1.97.3 | |
| OSV | Go | github.com/casdoor/casdoor | < 1.103.1 | 1.103.1 |
| OSV | PyPI | casdoor | <= 1.97.3 |
References
- https://github.com/casdoor/casdoor/issues/1035 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, REPORT, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2022-38638 · ADVISORY
- https://github.com/casdoor/casdoor/issues/1063 · WEB, REPORT
- https://github.com/casdoor/casdoor/commit/411d76798d73446fff4a0244f0475f1ea8bf42dc · WEB, FIX
- https://github.com/casdoor/casdoor · PACKAGE
- https://github.com/casdoor/casdoor/releases/tag/v1.103.1 · WEB
- https://github.com/advisories/GHSA-9vm3-r8gq-cr6x · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Sep 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Sep 2022)