Casdoor before 4.27.1 Denial of Service via SAML Message Decompression
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
Description
Casdoor before 4.27.1 contains an uncontrolled resource consumption vulnerability in decodeSamlMessage that allows unauthenticated attackers to exhaust memory by sending unbounded DEFLATE-compressed SAML messages. Attackers can send a small, highly compressed SAMLRequest or SAMLResponse to the /api/saml/logout/:owner/:application endpoint, which inflates to gigabytes and crashes or stalls the server.
| Product | Versions |
|---|---|
| Casdoor Casdoor | before 4.27.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
- https://github.com/casdoor/casdoor/commit/70b103a26f1d523d81470f26ead9a4eff3393c36Patch
- Casdoor v4.27.1 Release NotesRelease Notes
- https://github.com/casdoor/casdoor/blob/v4.27.0/object/saml_idp.go#L336-L350Technical Details
- VulnCheck Advisory: Casdoor before 4.27.1 Denial of Service via SAML Message DecompressionThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.