Patchfirst
CVE-2022-24124 Public exploit EPSS 55.3%

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.

Fix:upgrade casdoor to 1.13.1 or later Details ↓

Summary

The query API in Casdoor (versions before 1.13.1) contains a SQL injection flaw in its handling of the field and value parameters, as demonstrated through the api/get-organizations endpoint. An attacker able to reach that API can inject SQL through these parameters to manipulate database queries, with the specific network, authentication, and user-interaction requirements not stated in the available record.

Heading is the official description · CVE.org
Breakdown
24.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 27 days after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+27 days

2 related vulnerabilities in the same code over 4 years.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2022-24124The query API in Casdoor before 1.13.1 has a SQL injection…29 Jan 2022
  2. relatedMedium

    Why these are linked:

    CVE-2025-61524An issue in the permission verification module and…8 Oct 2025

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 2 ecosystems. Main package: casdoor.

PyPIcasdoorPYSEC-2022-43189

Upgrade to 1.13.1 or later

pippip install "casdoor>=1.13.1"

The first fix for CVE-2022-24124. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 1.13.11.13.1

“Up to” means the second version is the fix and is not affected.

Other packages that bundle this code (1)

Forks, repackagings and products that include the affected code. Each has its own fixed version.

  • Gogithub.com/casdoor/casdoor
    Affected: All versions before 1.13.1Upgrade to 1.812.0 or later

Check your lockfile against all CVEs

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close