CVE-2022-38638 json
Casdoor arbitrary file write vulnerability
published 2022-09-09 4 y ago modified 2026-10-04 35 d ago also GHSA-9vm3-r8gq-cr6x , GO-2022-1006 , PYSEC-2022-43190 , EUVD-2022-6767
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.
Patch / fix
- go github.com/casdoor/casdoor 1.103.1
Exploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/casdoor/casdoor/issues/1035 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/casdoor/casdoor | <1.103.1 |
1.103.1 |
| pypi | casdoor | <=1.97.3 |
no fix listed |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/casdoor/casdoor/issues/1035
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/casdoor/casdoor/commit/411d76798d73446fff4a0244f0475f1ea8bf42dc
web, patch
-
nvd.nist.gov
/vuln/detail/CVE-2022-38638
advisory
-
github.com
/casdoor/casdoor/issues/1063
web, report
-
github.com
/casdoor/casdoor
package
-
github.com
/casdoor/casdoor/releases/tag/v1.103.1
web
-
github.com
/advisories/GHSA-9vm3-r8gq-cr6x
advisory
Sources
- CVE List CVE-2022-38638
- GitHub Advisory GHSA-9vm3-r8gq-cr6x
- NVD CVE-2022-38638
- OSV PYSEC-2022-43190
- OSV GO-2022-1006
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.