CVE-2022-24124Casdoor SQL Injection
SQL Injection in Casdoor
Published Jan 29, 2022 · Updated Oct 28, 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 58% 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.
Scores
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)
58%
Higher than 99.1% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
45/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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
Jan 29, 2022
Last updated
Oct 28, 2026
Weakness Type
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-24124
- advisoryGHSA advisory
- exploitExploitDB-50792
- articlepacketstormsecurity.com · 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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo