---
id: CVE-2022-38638
aliases:
  - PYSEC-2022-43190
  - GHSA-9vm3-r8gq-cr6x
  - GO-2022-1006
title: >-
  Casdoor v1.97.3 was discovered to contain an arbitrary file write
  vulnerability via the fullFilePath parameter at /api/upload-resource.
summary: >-
  Casdoor v1.97.3 was discovered to contain an arbitrary file write
  vulnerability via the fullFilePath parameter at /api/upload-resource.
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
vendor: casdoor
product: casdoor
ecosystem: pip
affected:
  - casdoor <= 1.97.3
patched:
  - github.com/casdoor/casdoor 1.103.1
published: '2022-09-09'
updated: '2026-10-04'
sourceUpdated: '2026-10-04T17:00:02.247223556Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2022-43190'
references:
  - url: 'https://github.com/casdoor/casdoor/issues/1035'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-38638'
  - url: 'https://github.com/casdoor/casdoor/issues/1063'
  - url: >-
      https://github.com/casdoor/casdoor/commit/411d76798d73446fff4a0244f0475f1ea8bf42dc
  - url: 'https://github.com/casdoor/casdoor'
  - url: 'https://github.com/casdoor/casdoor/releases/tag/v1.103.1'
  - url: 'https://github.com/advisories/GHSA-9vm3-r8gq-cr6x'
tags:
  - osv
  - pip
  - go
epss: 0.01226
epssPercentile: 0.67807
ingestedAt: '2026-10-05T07:28:24.383Z'
---

## Overview

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

## Affected packages

- `casdoor <= 1.97.3`

## Remediation

Refer to the advisory for the patched release.
