← News

Casdoor: Memory exhaustion via SAML endpoint

HighAI-generated2026-11-23

CVE
CVE-2026-134830
Severity
High (CVSS 7.5)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.6% (within 30 days; FIRST EPSS, 27 November 2026)

Summary

Casdoor versions before 4.27.1 can be forced to consume excessive memory. An unauthenticated attacker can send a highly compressed SAML message that expands to gigabytes and crashes the server.

Details

According to the NVD record, Casdoor prior to version 4.27.1 has an uncontrolled resource consumption flaw in the decodeSamlMessage function. The vulnerability is triggered by sending a small, heavily compressed SAMLRequest or SAMLResponse to the /api/saml/logout/:owner/:application endpoint.

An attacker can exploit this to inflate the compressed data into gigabytes of memory, causing the server to stall or crash, effectively denying service.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 22 November 2026 NVD record published
  • 23 November 2026 This article was written