Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

CVE-2022-24124 — casdoor

HIGHFix: casdoor/casdoor#442

CVE-2022-24124 is a high-severity (CVSS 7.5) SQL Injection vulnerability in github.com/casdoor/casdoor. 9 public exploit references exist, so weaponization risk is real. A fix is available for github.com/casdoor/casdoor — see the affected versions and patch details below.

SQL Injection in Casdoor

Also known asGHSA-m358-g4rp-533rGO-2022-0303PYSEC-2022-43189
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
9 known
Exploitation data as of Oct 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
55.3%probability of exploitation in next 30 days
High Risk0.00%
Lower risk than most CVEs99th percentile — riskier than 99% of all scored CVEsHighest risk
53.7%56.5%59.4%62.2%60.6%55.3%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2022-24124 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
🐹github.com/casdoor/casdoor

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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 Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/casdoor/casdoorall versions1.13.1go get github.com/casdoor/casdoor@v1.13.1

Affected Products

1 product · 1 configurations
Application
casdoorcasbin
< 1.13.1
range
Exploits & PoCs
9

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-50792webappsmultiple

Casdoor 1.13.0 - SQL Injection (Unauthenticated)

by Mayank Deshmukh · Feb 28, 2022

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/casdoor/casdoor, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/casdoor/casdoor to 1.13.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-24124 is resolved across your whole dependency graph.

  3. Workarounds

    Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.

How to detect CVE-2022-24124

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2022-24124 -u https://target
Template
Casdoor 1.13.0 - Unauthenticated SQL Injection
Severity
high
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
Remediation
Upgrade to a patched version of Casdoor or apply the necessary security patches to mitigate the SQL injection vulnerability.

Template by ProjectDiscovery nuclei-templates (cckuailong), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked 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.
O3 Security · Impact-Aware SCA

Is CVE-2022-24124 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2022-24124: casdoor SQL Injection — Fixed in 1.13.1