Read the docs

Denial of service in Casdoor via SAML message decompression

Priority MEDIUM 45CWE-409Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Casdoor before 4.27.1 contains an uncontrolled resource consumption flaw in decodeSamlMessage, where unbounded DEFLATE decompression of SAML messages is not limited (CWE-409). An unauthenticated remote attacker can send a small, highly compressed SAMLRequest or SAMLResponse to the /api/saml/logout/:owner/:application endpoint, which inflates to gigabytes and exhausts server memory, crashing or stalling the server.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00658 46th percentileScored 2026-11-30
Fix Fixed Casdoor (Casdoor): 4.27.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CasdoorCasdoorbefore 4.27.14.27.1Patch availableCNA
  • Casdoor VendorCasdoor Affected before 4.27.1 Fixed in 4.27.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*——Casdoor
  • cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:* Versions — — ·Casdoor

Remediation

Upgrade Casdoor to version 4.27.1 or later, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA Casdoor (Casdoor) Fixed in 4.27.1

Timeline

  1. 2026-11-22 Threatist record created from CVE-2026-134830
  2. 2026-11-23 Alias added: GHSA-6j3q-5m96-8cpq
  3. 2026-11-23 CISA SSVC decision points changed
  4. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2026-61806 Casdoor through 4.4.0 Private Key Exposure via Certificate Endpoints CVSS 4.0CRITICAL 9.3
  • TI-2026-62128 Casdoor through 4.4.0 Cross-Organization User Administration via /api/mcp CVSS 4.0CRITICAL 9.4
  • TI-2026-13152 Improper privilege management in Casdoor CVSS 3.1CRITICAL 9.9
  • TI-2024-27720 GHSL-2024-035: Casdoor CORS misconfiguration CVSS 3.1HIGH 8.8
  • TI-2022-22096 Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function. CVSS 3.1HIGH 8.1
  • TI-2022-08069 The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the… CVSS 3.1HIGH 7.5
See all 23 →

Sources