CVE-2022-38638Casbin Casdoor
Critical 9.1 No auth needed
Follow: this CVE · Casbin · Casbin Casdoor We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- Sep 9, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.
What to do
- Apply the vendor's security update for Casdoor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/casdoor/casdoor |
< 1.103.1 |
1.103.1 |
go get github.com/casdoor/casdoor@v1.103.1 |
| Go | github.com/casdoor/casdoor |
< 1.103.1 |
1.103.1 |
go get github.com/casdoor/casdoor@v1.103.1 |
| PyPI | casdoor |
≤ 1.97.3 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-9vm3-r8gq-cr6x, GO-2022-1006, PYSEC-2022-43190). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| casbin | casdoor | 1.97.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch