# CVE-2026-134830: Casdoor before 4.27.1 Denial of Service via SAML Message Decompression

Source: https://aplosec.si/cve/CVE-2026-134830/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-134830

High 8.7 · Reported · Fixed in 4.27.1 · CWE-409 · Go

# Casdoor before 4.27.1 Denial of Service via SAML Message Decompression

CVE-2026-134830 · published 2026-11-22

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

## Summary

CVE-2026-134830 affects Casdoor (Go) < 4.27.1: Denial of Service via SAML Message Decompression (CWE-409). Fixed in 4.27.1. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade Casdoor to 4.27.1 or later. Releases in the affected range (< 4.27.1) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-22 CVE published

## References

- [Releasehttps://github.com/casdoor/casdoor/releases/tag/v4.27.1](https://github.com/casdoor/casdoor/releases/tag/v4.27.1)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/casdoor-before-4.27.1-denial-of-service-via-saml-message-decompression](https://www.vulncheck.com/advisories/casdoor-before-4.27.1-denial-of-service-via-saml-message-decompression)

- [Fix commithttps://github.com/casdoor/casdoor/commit/70b103a26f1d523d81470f26ead9a4eff3393c36](https://github.com/casdoor/casdoor/commit/70b103a26f1d523d81470f26ead9a4eff3393c36)

- [Vulnerable codehttps://github.com/casdoor/casdoor/blob/v4.27.0/object/saml_idp.go#L336-L350](https://github.com/casdoor/casdoor/blob/v4.27.0/object/saml_idp.go#L336-L350)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134830](https://www.cve.org/CVERecord?id=CVE-2026-134830)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134830](https://nvd.nist.gov/vuln/detail/CVE-2026-134830)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-134830)

**Package:** Casdoor

**Ecosystem:** Go

**Affected:** < 4.27.1

**Fixed:** 4.27.1

**Weakness:** CWE-409

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
