Skip to main content

Casdoor EUVDEUVD-2026-132833

| CVE-2026-134830 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-11-22 VulnCheck GHSA-6j3q-5m96-8cpq
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach SAML logout endpoint over network
  2. Delivery
    Craft tiny DEFLATE-compressed SAML message
  3. Exploit
    POST SAMLRequest/Response to /api/saml/logout
  4. Execution
    decodeSamlMessage inflates unbounded to gigabytes
  5. Impact
    Memory 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

casdoor 0 <4.27.1

Affected Packages

euvd casdoor fix: 4.27.1

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
Low
Niche open-source IAM/SSO platform, modest production deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-91998 CRITICAL POC
9.4 Sep 15

Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli

CVE-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2022-38638 CRITICAL POC
9.1 Sep 09

Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u

CVE-2024-41657 HIGH POC
8.8 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.

CVE-2022-44942 HIGH POC
8.1 Dec 07

Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.

CVE-2023-34927 MEDIUM POC
6.5 Jun 22

Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo

CVE-2024-41658 MEDIUM POC
6.1 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS

CVE-2026-15630 CRITICAL
9.9 Jul 23

Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or

CVE-2026-6815 MEDIUM POC
5.9 May 11

Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi

CVE-2026-9097 CRITICAL
9.8 May 28

Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic

CVE-2026-9094 CRITICAL
9.8 May 28

Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc

CVE-2026-9093 CRITICAL
9.8 May 28

SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arb

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy