Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or compromise administrative credentials
-
DeliveryAccess Casdoor admin console
-
ExploitNavigate to Local File System storage upload
-
InstallCraft file path with traversal sequences (../)
-
C2Submit upload request
-
ExecuteBypass path sanitization
-
ImpactWrite file to arbitrary location
-
Step 8Verify file existence on filesystem
-
Step 9Potentially execute or access sensitive files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Local File System storage provider to be actively configured and used in Casdoor's storage chain. The attacker must possess valid administrative credentials to access file upload or storage configuration endpoints. The attack is limited to local filesystem scope - the vulnerability does not enable remote file system access or escape the host operating system boundary. Non-default storage configurations (e.g., cloud storage backends) are not affected. The CVSS vector states PR:N (no privilege requirement), but the description explicitly requires administrative privileges; this conflict indicates the path traversal itself may be unauthenticated-accessible in certain code paths, but full impact requires admin context. Filesystem permissions on the host (e.g., if Casdoor runs as an unprivileged user) may further restrict where files can be written, limiting impact even if the vulnerability is exploited. |
| Impact | The CVSS 5.9 score reflects a local attack vector (AV:L) with no authentication required in the vector definition (PR:N), creating apparent conflation with the description stating 'authenticated attacker with administrative privileges.' The actual risk is substantially lower than the CVSS suggests: EPSS 0.03% (percentile 9%) indicates this is in the lowest exploitation probability tier, consistent with the high barrier of requiring both valid administrative credentials AND local filesystem access. The vulnerability is not in CISA KEV and no public exploit code has been identified, further reducing real-world risk. This appears to be a theoretical path traversal in an administrative-only feature rather than a broadly exploitable flaw. The discrepancy between CVSS vector (PR:N) and description (PR requiring admin) suggests either CVSS vector inaccuracy or that the administrator context is a deployment-specific condition rather than a technical requirement. Organizations with strong administrative access controls and filesystem permissions will see minimal practical risk. |
| Exploit ScenarioDerived | An internal administrator with legitimate access to Casdoor's administrative console exploits insufficient path sanitization in the Local File System storage upload feature by providing a crafted file path containing '../' sequences. The attacker uploads a malicious configuration file or script to a location outside the intended storage directory (e.g., application webroot or system directories), then triggers execution of the planted file through a separate Casdoor function or direct filesystem access, achieving code execution or configuration compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 13, 2026
Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary files to the filesystem by bypassing path sanitization in the storage sandbox. An attacker with administrative privileges can exploit insufficient input validation to create or overwrite files anywhere on the host system. EPSS score of 0.03% indicates minimal real-world exploitation probability despite the moderate CVSS 5.9 score, suggesting the vulnerability requires both authenticated access and administrative privileges that significantly limit practical attack surface.
RemediationAI
Upgrade Casdoor to a version newer than 2.328.0 to obtain the path sanitization fix; exact patched version not specified in available references. As an interim workaround, disable the Local File System storage provider and use alternative storage backends (e.g., S3, MinIO, or cloud storage) that are less susceptible to local path traversal, though this changes the storage architecture. Additionally, restrict Local File System storage configuration to users with strict administrative vetting, and apply OS-level filesystem permissions to limit the Casdoor process's write scope to a narrow directory with read-only parent paths to constrain traversal impact. Verify the fix in release notes at https://github.com/casdoor/casdoor/releases once patched versions are released, and test path traversal payloads in staging before production deployment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
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 identity and access management platform that provides pluggable storage backends, including a Local File System provider for file operations. The vulnerability exists in the Local File System storage module's path handling logic, where user-supplied file paths are not properly sanitized before filesystem operations. This allows classic path traversal techniques (e.g., '../../../') to escape the intended storage directory sandbox. The root cause is insufficient validation against directory traversal sequences in file write operations, classified under path traversal weaknesses. Casdoor versions through 2.328.0 are affected, indicating this is a historical vulnerability in the core storage abstraction layer.
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
AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
An arbitrary file write vulnerability exists in Casdoor's Local File System storage provider. Due to insufficient path sanitization, an authenticated attacker with administrative privileges can perform a Path Traversal attack to create or overwrite arbitrary files anywhere on the host filesystem, bypassing the application's intended storage sandbox.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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
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
Unauthenticated arbitrary file upload in Casdoor's /api/upload-resource endpoint (controllers/resource.go) exposes all v
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-29080
GHSA-rmxx-v9rj-vpvg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB
VulDB