CVE-2022-24124
HighPublic exploitSQL Injection in Casdoor
Published Feb 1, 2022 · Updated Oct 4, 2026 · Also known as GHSA-m358-g4rp-533r, GO-2022-0303, PYSEC-2022-43189
Key Facts
Patch immediately- CVE-2022-24124 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Casdoor (Casbin), github.com/casdoor/casdoor (go).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 55% probability of exploitation in the next 30 days.
- Fixed versions are available, including Casdoor 1.13.1, github.com/casdoor/casdoor 1.13.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS (30-day exploit likelihood)
55%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-24124 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| CasdoorCasbin | See advisory | 1.13.1 |
| github.com/casdoor/casdoorgo | See advisory | 1.13.1 |
Patched Releases
Casdoor
1.13.1
github.com/casdoor/casdoor
1.13.1
Timeline
Publicly disclosed
Feb 1, 2022
Last updated
Oct 4, 2026
Weakness Type
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24124.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-24124
- exploitExploitDB-50792
- articlehttp://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html
FAQ
Common Questions.
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.
Affected: Casdoor (Casbin); github.com/casdoor/casdoor (go). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Casdoor 1.13.1, github.com/casdoor/casdoor 1.13.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-24124 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo