CVE-2022-24124Casbin Casdoor
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Casbin · Casbin Casdoor We alert you by email or Slack (account required).
- 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.
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.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)
| Vendor | Product | Versions |
|---|---|---|
| casbin | casdoor | < 1.13.1 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Release Notes Third Party Advisory
- github.com Exploit Issue Tracking Patch
- github.com Exploit Patch Third Party Advisory