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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Casdoor | Casdoor | < 4.27.1 |
References
- https://github.com/casdoor/casdoor/blob/v4.27.0/object/saml_idp.go#L336-L350
- https://github.com/casdoor/casdoor/commit/70b103a26f1d523d81470f26ead9a4eff3393c36
- https://github.com/casdoor/casdoor/releases/tag/v4.27.1
- https://www.vulncheck.com/advisories/casdoor-before-4.27.1-denial-of-service-via-saml-message-decompression
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred