Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed Casdoor API port
-
DeliverySend unauthenticated multipart POST to /api/upload-resource
-
ExploitServer stores attacker-controlled file without auth check
-
ExecutionAccess stored file via resource URL
-
ImpactTrigger XSS against authenticated users or execute web shell if path is executable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions required - any attacker with HTTP or HTTPS network access to the Casdoor API port can reach the /api/upload-resource endpoint and upload arbitrary files without credentials (AV:N, PR:N, UI:N against default deployments through version 4.0.0). The public PoC (labeled 'Finding 1') demonstrates exploitation of the default configuration with no prerequisites beyond network reachability. Impact severity beyond the conservative CVSS L/L/L depends on deployment storage configuration: if uploaded files land in a web-executable directory, code execution escalates. Exploitation is limited to Casdoor instances exposed to untrusted networks - deployments strictly behind VPN or private-only network boundaries reduce reachability but are not immune if internal threat actors or pivot scenarios apply. |
| Impact | The CVSS 4.0 vector confirms fully remote, zero-prerequisite exploitation - no authentication, no special configuration, no user interaction required. The E:P modifier confirms a public PoC exists, elevating near-term exploitation probability. The provided impact scores (VC:L/VI:L/VA:L) appear conservative for an unauthenticated arbitrary file upload on an IAM/SSO platform: if uploaded files are stored in a web-accessible directory, the integrity impact could escalate to High via web shell deployment or server-side code execution; if files are served back to authenticated users, stored XSS via malicious SVG or HTML is a realistic secondary impact. The vendor's refusal to engage - deleting the GitHub issue and ignoring email contact - raises high confidence that no patch exists as of this analysis. No CISA KEV listing is present; EPSS data was not provided, but PoC availability on a zero-auth remote endpoint substantially increases the probability of opportunistic exploitation. The conservative CVSS rating and vendor silence should not be interpreted as low urgency. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted multipart HTTP POST request directly to the /api/upload-resource endpoint on an internet-exposed Casdoor instance. The server accepts and stores the attacker-controlled file without any authentication check. If the storage path is web-accessible and the server executes certain file types, the attacker achieves code execution; alternatively, a malicious SVG or HTML file stored and later served to authenticated users triggers stored XSS against privileged sessions in this IAM platform. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Unauthenticated arbitrary file upload in Casdoor's /api/upload-resource endpoint (controllers/resource.go) exposes all versions through 4.0.0 to remote file-write with no authentication required. The CWE-306 flaw means any network-reachable attacker can deposit attacker-controlled content into the platform's resource storage without credentials or user interaction. A public proof-of-concept has been disclosed by researcher geo-chen; the vendor deleted the GitHub issue without comment and did not respond to coordinated disclosure email, leaving patch status unconfirmed.
RemediationAI
No vendor-released patch identified at time of analysis - the vendor deleted the original GitHub issue and did not respond to coordinated disclosure outreach, leaving no official fix version to cite. Organizations running Casdoor through 4.0.0 should immediately restrict access to the /api/upload-resource endpoint via reverse proxy ACL rules or firewall policy, permitting uploads only from authenticated internal network segments or specific trusted IP ranges; note this does not fix the underlying authentication flaw but reduces reachability. If the application sits behind an API gateway capable of enforcing JWT or session validation, add an authentication middleware layer in front of the upload route as a compensating control. Audit the resource storage directory for unexpected file types (.php, .jsp, .html, .svg, .sh) as indicators of exploitation. Monitor the Casdoor GitHub repository at github.com/casdoor/casdoor for any releases above 4.0.0 that may silently patch this issue. The PoC is documented at github.com/geo-chen/oss/blob/main/casdoor.md.
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 is an open-source Go-based Identity and Access Management (IAM) and Single Sign-On (SSO) platform, typically self-hosted as an authentication backend for cloud-native applications. The vulnerable endpoint /api/upload-resource is implemented in controllers/resource.go and handles file uploads for user-facing resources such as avatars, logos, and attachments. CWE-306 (Missing Authentication for Critical Function) identifies the root cause: the endpoint performs no session token or credential validation before processing the multipart upload, making it callable directly without any credentials. The affected CPE entry uses the 'n/a' vendor placeholder; the actual project is github.com/casdoor/casdoor, confirmed by the GitHub repository reference and PoC link. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) reflects zero-prerequisite remote 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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Unauthenticated network-reachable endpoint with no prerequisites; conservative L impacts follow supplied CVSS 4.0 VC:L/VI:L/VA:L without confirmed RCE path from available data.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in Casdoor up to 4.0.0. This affects an unknown function of the file controllers/resource.go of the component upload-resource API. Such manipulation leads to missing authentication. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor deleted the GitHub issue for this vulnerability without any explanation. Afterwards the vendor was contacted early about this disclosure via email but did not respond in any way.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-69726
GHSA-ghh7-j2mm-r3r8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB