Live threats

All CVEs / Casbin

CVE-2022-44942Casbin Casdoor

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
1.0%
probability of exploitation in 30 days · percentile 60
Auth required
Yes
Published
Dec 7, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What happens

Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.

Original NVD text.

What to do

  1. Apply the vendor's security update for Casdoor.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/casdoor/casdoor < 1.126.1 1.126.1 go get github.com/casdoor/casdoor@v1.126.1
Go github.com/casdoor/casdoor < 1.126.1 1.126.1 go get github.com/casdoor/casdoor@v1.126.1

Per OSV / GitHub Advisories (GHSA-f93f-55c2-8c89, GO-2022-1153). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
casbincasdoor< 1.126.1

Official sources

References

Links published by the sources. Open them with care.