{"id":"CVE-2022-38638","aliases":["EUVD-2022-6767","GHSA-9vm3-r8gq-cr6x","GO-2022-1006","PYSEC-2022-43190"],"status":"published","title":"Casdoor arbitrary file write vulnerability","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01253,"percentile":0.69699,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2022-09-09T19:40:29Z","modified":"2026-10-28T02:31:11Z","fixes":[{"ecosystem":"Go","package":"github.com/casdoor/casdoor","fixed_in":["1.103.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.103.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.103.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.103.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"casdoor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.97.3"}]}],"versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.11.0","1.12.0","1.12.1","1.13.0","1.13.1","1.14.0","1.14.1","1.14.2","1.15.0","1.16.0","1.16.1","1.16.2","1.17.0","1.17.1","1.17.2","1.18.0","1.19.0","1.2.0","1.2.1","1.20.0","1.21.0","1.22.0","1.23.0","1.24.0","1.25.0","1.26.0","1.27.0","1.28.0","1.29.0","1.3.0","1.30.0","1.31.0","1.32.0","1.33.0","1.34.0","1.35.0","1.36.0","1.37.0","1.38.0","1.39.0","1.4.0","1.40.0","1.41.0","1.42.0","1.43.0","1.43.1","1.43.2","1.43.3","1.5.0","1.5.1","1.6.0","1.7.0","1.8.0","1.9.0"]}],"products":[{"vendor":"casbin","product":"casdoor"}],"references":[{"url":"https://github.com/casdoor/casdoor/issues/1035","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38638","tags":["advisory"]},{"url":"https://github.com/casdoor/casdoor/issues/1063","tags":["web","report"]},{"url":"https://github.com/casdoor/casdoor/commit/411d76798d73446fff4a0244f0475f1ea8bf42dc","tags":["web","fix"]},{"url":"https://github.com/casdoor/casdoor/releases/tag/v1.103.1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9vm3-r8gq-cr6x","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38638.json","tags":["advisory"]},{"url":"https://github.com/casdoor/casdoor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-38638","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-09T19:40:29Z","modified":"2024-08-03T11:02:14.285Z","updated_at":"2026-11-02T14:34:37.599536Z"}],"euvd":[{"id":"EUVD-2022-6767","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-09T19:40:29Z","modified":"2024-08-03T11:02:14Z","updated_at":"2026-11-03T03:25:21.94292Z"}],"ghsa":[{"id":"GHSA-9vm3-r8gq-cr6x","title":"Casdoor arbitrary file write vulnerability","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-10T00:00:23Z","modified":"2023-08-17T05:02:40Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:00.074932Z"}],"nvd":[{"id":"CVE-2022-38638","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-09T20:15:11.34Z","modified":"2026-06-17T04:56:55.81Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:27.631109Z"}],"osv":[{"id":"GHSA-9vm3-r8gq-cr6x","title":"Casdoor arbitrary file write vulnerability","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-10T00:00:23Z","modified":"2026-10-04T11:40:56.828654381Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"PYSEC-2022-43190","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-09T20:15:11.34Z","modified":"2026-10-04T17:00:02.247223556Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:53.837392Z"},{"id":"CVE-2022-38638","description":"Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.","status":"published","published":"2022-09-09T19:40:29Z","modified":"2026-10-28T02:31:11.325580948Z","updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"GO-2022-1006","title":"Casdoor arbitrary file write vulnerability in github.com/casdoor/casdoor","description":"Casdoor arbitrary file write vulnerability in github.com/casdoor/casdoor","status":"published","published":"2024-08-21T16:03:24Z","modified":"2026-10-04T11:40:56.828654381Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
