CVE-2026-9098: Casdoor - Authentication Bypass
- Cve: CVE-2026-9098
- Name: Casdoor - Authentication Bypass
- Description: In Casdoor versions 2.362.0 and earlier, the SAML callback handler in controllers/auth.go accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest previously issued by Casdoor. Additionally, if an administrator disables or deletes an IdP (Identity Provider) after a SAML flow has started, the handler still processes the response using the provider snapshot loaded at the start of the request. As a result, an attacker controlling a registered upstream IdP can send unsolicited SAML responses, or replay a legitimately captured response in a different session or after the original flow has ended. In both cases, Casdoor accepts the response and issues a session, enabling persistent unauthorized access.
- Impact: Attackers controlling a registered IdP can gain persistent unauthorized access by sending unsolicited or replayed SAML responses.
- Remediation: Update to a version later than 2.362.0 or the latest available version.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: logged_in
- Requirements: Attacker must control a registered upstream Identity Provider
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.0023
- Epss percentile: 0.138
- Assignee: [email protected]
- Published at: 2026-05-28T17:16:34Z
- Age in days: 180
- Modified at: 2026-06-17T11:04:50Z
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-9098
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-488 | — |
References
| Url | Source | Tags |
|---|---|---|
| https://kb.cert.org/vuls/id/780781 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| casbin:casdoor | <= 2.362.0 | no | cna_alias | /v1/products/casbin/casdoor |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| casdoor/casdoor | package | yes | /v1/repositories/casdoor/casdoor |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 2175
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports