Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SAML logout endpoint over network
-
DeliveryCraft tiny DEFLATE-compressed SAML message
-
ExploitPOST SAMLRequest/Response to /api/saml/logout
-
ExecutiondecodeSamlMessage inflates unbounded to gigabytes
-
ImpactMemory exhausted, server crashes or stalls
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | Requires that the target Casdoor instance expose its SAML IdP logout endpoint /api/saml/logout/:owner/:application and have a configured owner/application path reachable by the attacker; exploitation sends an unauthenticated DEFLATE-compressed SAMLRequest or SAMLResponse that the server inflates without a size limit. Per the CVSS vector (PR:N/UI:N/AC:L/AT:N), no authentication, user interaction, or special attacker precondition is needed against a default SAML-enabled deployment. LIMITING FACTORS: the instance must actually use/expose SAML (an application and owner must exist on that route) and the endpoint must be network-reachable; the impact is confined to availability (process crash/stall via memory exhaustion) with no confidentiality or integrity consequence, and it is remediated in 4.27.1 which caps messages at 1 MiB. |
| Impact | This is a genuine, moderate-to-high operational priority for anyone running Casdoor, though not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H) is internally consistent with the description: a remote, unauthenticated attacker over the network, with low complexity and no special attack requirements, can achieve high availability impact and zero confidentiality or integrity impact - exactly the profile of a decompression-bomb denial of service (CWE-409). The 8.7 score is driven entirely by availability, so this is a crash/stall risk, not a data-breach or RCE risk; teams weighing it against confidentiality-impacting bugs should factor that in. No EPSS score was supplied, so statistical exploitation probability cannot be quantified. The vulnerability is NOT in CISA KEV and no public exploit code was provided, so there is no confirmation of active exploitation. However, the mechanism is simple and well-understood (small highly-compressed DEFLATE payload inflating to gigabytes), and the fix commit is public, which lowers the barrier to building a trigger. The vuln.today 'this_week' decision label aligns with that reasoning: real and actionable, but short of 'act_now'/'emergency'. Net: treat as a real priority to patch promptly on internet-exposed Casdoor instances, but it is an availability-only issue carrying no risk of compromise or data loss. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a small, highly DEFLATE-compressed SAMLRequest or SAMLResponse and POSTs it to the public /api/saml/logout/:owner/:application endpoint of a Casdoor instance acting as a SAML IdP. Casdoor's decodeSamlMessage inflates the payload without any size bound, expanding a few kilobytes into gigabytes and exhausting server memory, crashing or stalling the process. The attack is low-complexity and needs no authentication or user interaction; no public exploit code was supplied, though the fix diff publicly reveals the vulnerable code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Casdoor before 4.27.1 allows unauthenticated remote attackers to exhaust server memory through a small DEFLATE-compressed SAMLRequest or SAMLResponse sent to /api/saml/logout/:owner/:application, where decodeSamlMessage inflates the payload without a size limit and can crash or stall the process. The flaw is limited to availability impact and affects SAML-exposed deployments with a reachable owner/application route (CVSS 8.7; assessed CVSS:3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). This is a moderate-to-high operational priority rather than an emergency, and no public exploit was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade Casdoor to 4.27.1, which caps decoded SAML messages at 1 MiB; the fix is in commit 70b103a26f1d523d81470f26ead9a4eff3393c36 and release https://github.com/casdoor/casdoor/releases/tag/v4.27.1. If immediate upgrade is not possible, reduce exposure by restricting network access to /api/saml/logout/:owner/:application for configured owner/application paths, because exploitation requires that route to be reachable; this does not fix the missing size limit and will block legitimate external SAML logout traffic. Apply the vendor release as the complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Casdoor's SAML identity-provider implementation accepts base64-encoded, DEFLATE-compressed SAMLRequest and SAMLResponse values; the vulnerable decodeSamlMessage routine used flate.NewReader with io.ReadAll and no decoded-size cap, making this a CWE-409 data-amplification issue. The CPE cpe:2.3:a:casdoor:casdoor:*:*:*:*:*:*:*:* identifies pre-4.27.1 Casdoor versions as the affected product. The vendor fix in commit 70b103a26f1d523d81470f26ead9a4eff3393c36 adds maxSamlMessageSize = 1 << 20, rejects base64 input larger than the encoded 1 MiB limit, and uses io.LimitReader with maxSamlMessageSize+1 to stop oversized inflation. The provided independent assessment scores the issue CVSS:3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; SAML must be exposed and a configured owner/application path reachable for exploitation.
Know when Casdoor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote unauthenticated POST to the SAML logout endpoint with low complexity (AV:N/AC:L/PR:N/UI:N); availability-only impact from memory exhaustion, so C:N/I:N/A:H and scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-134830 in Casdoor versions prior to 4.27.1 enables unauthenticated attackers to cause a denial of service by sending a small compressed SAML message that exhausts server memory. This impacts availability of authentication services, potentially disrupting access for all users and dependent applications. Leadership should prioritize patching to maintain service uptime, especially given the low attack complexity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.
Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS
Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or
Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi
Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic
Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc
SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arb
EUVD-2026-132833
GHSA-6j3q-5m96-8cpq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB