# CVE-2022-38638: Casdoor arbitrary file write vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 1.25%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-09T19:40:29.000Z
- Modified: 2026-10-04T17:00:02.247Z
- Also known as: GHSA-9vm3-r8gq-cr6x, GO-2022-1006, PYSEC-2022-43190
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/casdoor/casdoor (Go): before 1.103.1
- casbin casdoor: 1.97.3
- casdoor (PyPI): up to 1.97.3

## Every score

- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/casdoor/casdoor/issues/1035> (exploit, fix, issue-tracking, patch, report, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38638> (advisory)
- <https://github.com/casdoor/casdoor/issues/1063> (report, web)
- <https://github.com/casdoor/casdoor/commit/411d76798d73446fff4a0244f0475f1ea8bf42dc> (fix, web)
- <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)

## Sources

- CVE List: [CVE-2022-38638](https://www.cve.org/CVERecord?id=CVE-2022-38638), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9vm3-r8gq-cr6x](https://github.com/advisories/GHSA-9vm3-r8gq-cr6x), CC-BY-4.0, modified 2026-10-04
- Go Vulnerability Database: [GO-2022-1006](https://pkg.go.dev/vuln/GO-2022-1006), CC-BY-4.0, modified 2026-10-04
- NVD: [CVE-2022-38638](https://nvd.nist.gov/vuln/detail/CVE-2022-38638), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43190](https://osv.dev/vulnerability/PYSEC-2022-43190), CC-BY-4.0, modified 2026-10-04

---

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