← Vulnerability feed

Vulnerability record · CVE-2024-41657 · published 20 August 2024

CVE-2024-41657: Casbin casdoor vulnerability

Casbin · Casdoor

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, a logic vulnerability exists in the beego filter CorsFilter that allows any website to make cross domain requests to Casdoor as the logged in user. Due to the a logic error in checking only for a prefix when authenticating the Origin header, any domain can create a valid subdomain with a valid subdomain prefix (Ex: localhost.example.com), allowing the website to make requests to Casdoor as the current signed-in user.

8.8 CVSS 3.1 High EPSS 0.79% · top 45.4% CWE-942 · CWE-942CWE-697 · CWE-697
8.8CVSS 3.1 base score
0.79%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, a logic vulnerability exists in the beego filter CorsFilter that allows any website to make cross domain requests to Casdoor as the logged in user. Due to the a logic error in checking only for a prefix when authenticating the Origin header, any domain can create a valid subdomain with a valid subdomain prefix (Ex: localhost.example.com), allowing the website to make requests to Casdoor as the current signed-in user.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-41657 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2022-38638Casbin casdoor path traversal vulnerabilityCasdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.EPSS 1.2%8.1CVE-2022-44942Casbin casdoor path traversal vulnerabilityCasdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.EPSS 0.87%7.5CVE-2024-41264Casbin casdoor improper certificate validation vulnerabilityAn issue discovered in casdoor v1.636.0 allows attackers to obtain sensitive information via the ssh.InsecureIgnoreHostKey() method.EPSS 0.46%7.5CVE-2022-24124Casdoor query API SQL injection via field and value parametersCasdoor before 1.13.1 contains a SQL injection flaw in its query API, reachable through the field and value parameters as shown by the api/get-organi…EPSS 55%analysed6.5CVE-2023-34927Casbin casdoor cross-site request forgery vulnerabilityCasdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-password. This vulnerability allows…EPSS 3.1%6.1CVE-2024-41658Casbin casdoor cross-site scripting vulnerabilityCasdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, he purchase URL that is c…EPSS 0.45%5.9CVE-2026-6815Casbin casdoor path traversal vulnerabilityAn arbitrary file write vulnerability exists in Casdoor's Local File System storage provider. Due to insufficient path sanitization, an authenticated…EPSS 0.59%5.1CVE-2026-5469Casbin casdoor server-side request forgery (ssrf) vulnerabilityA weakness has been identified in Casdoor 2.356.0. This vulnerability affects unknown code of the component Webhook URL Handler. Executing a manipula…EPSS 0.57%

Source: NIST National Vulnerability Database (record CVE-2024-41657), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.