Live threats

All CVEs / Casbin

CVE-2022-24124Casbin Casdoor

High 7.5 No auth neededHigh EPSS

Priority
66
CVSS 3.1
7.5
EPSS
55.6%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Jan 29, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as demonstrated by api/get-organizations.

Original NVD text.

What to do

  1. Apply the vendor's security update for Casdoor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/casdoor/casdoor < 1.13.1 1.13.1 go get github.com/casdoor/casdoor@v1.13.1
Go github.com/casdoor/casdoor < 1.13.1 1.13.1 go get github.com/casdoor/casdoor@v1.13.1
PyPI casdoor < 1.13.1 1.13.1 pip install "casdoor>=1.13.1"

Per OSV / GitHub Advisories (GHSA-m358-g4rp-533r, GO-2022-0303, PYSEC-2022-43189). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
casbincasdoor< 1.13.1

Official sources

References

Links published by the sources. Open them with care.