惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
博客园 - 叶小钗
爱范儿
爱范儿
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
T
Tailwind CSS Blog
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell

CERT Recently Published Vulnerability Notes

CERT/CC Vulnerability Note VU#369611 CERT/CC Vulnerability Note VU#687587 CERT/CC Vulnerability Note VU#718077 CERT/CC Vulnerability Note VU#859658 CERT/CC Vulnerability Note VU#943094 CERT/CC Vulnerability Note VU#889462 CERT/CC Vulnerability Note VU#456290 CERT/CC Vulnerability Note VU#308749 CERT/CC Vulnerability Note VU#728712 CERT/CC Vulnerability Note VU#756733 CERT/CC Vulnerability Note VU#874418 CERT/CC Vulnerability Note VU#431093 CERT/CC Vulnerability Note VU#614868 CERT/CC Vulnerability Note VU#987105 CERT/CC Vulnerability Note VU#487613 CERT/CC Vulnerability Note VU#243636 CERT/CC Vulnerability Note VU#281278 CERT/CC Vulnerability Note VU#790363 CERT/CC Vulnerability Note VU#293714 CERT/CC Vulnerability Note VU#305509 CERT/CC Vulnerability Note VU#141367 CERT/CC Vulnerability Note VU#492466 CERT/CC Vulnerability Note VU#847406 CERT/CC Vulnerability Note VU#360868 CERT/CC Vulnerability Note VU#762226 CERT/CC Vulnerability Note VU#885548 CERT/CC Vulnerability Note VU#326070 CERT/CC Vulnerability Note VU#529388 CERT/CC Vulnerability Note VU#725167 CERT/CC Vulnerability Note VU#564823
CERT/CC Vulnerability Note VU#937808
2026-05-11 · via CERT Recently Published Vulnerability Notes

Overview

Casdoor contains an arbitrary file write vulnerability in the implementation of its "Local File System" storage provider. Due to insufficient sanitization of user-supplied paths, an authenticated user with file upload permissions can escape the intended storage directory and write files elsewhere on the target filesystem. The vulnerability allows attackers to bypass Casdoor’s storage sandbox and perform unauthorized actions with the privileges of the Casdoor runtime user.

Description

Casdoor is an open-source identity and access management (IAM) platform and Model Context Protocol (MCP) gateway that provides authentication, single sign-on, and multi-protocol identity services for applications. Internally, it uses its Local File System storage provider to save files to a dedicated $CASDOOR/files/ directory.

During a file upload via the /api/upload-resource endpoint, the Casdoor application determines the target storage filepath by concatenating the user-supplied parameters pathPrefix and fullFilePath. However, values provided for pathPrefix are not properly sanitized, so directory traversal sequences such as ../../ are accepted without any integrity or permission checks beyond those of the OS user running the Casdoor process. The application does not verify that the destination filepath remains inside the dedicated storage directory, and it will create or overwrite any file that the Casdoor process has permission to modify.

CVE-2026-6815 An arbitrary file write vulnerability exists in Casdoor's Local File System storage provider. Due to insufficient path sanitization, an authenticated attacker with file upload privileges can perform a path traversal attack to create or overwrite arbitrary files elsewhere on the host filesystem, bypassing the application's intended storage sandbox.

Impact

Successful exploitation enables arbitrary file creation and modification on the host system, which can be used by an attacker to:
* Overwrite any file that is accessible to the Casdoor process.
* Establish persistence by creating scheduled tasks or cron jobs through the filesystem as the Casdoor user.
* Overwrite Casdoor’s backend database file casdoor.db, causing authentication services to fail and locking out all users and dependent applications.

Exploitation of this vulnerability requires the attacker to possess an authenticated session with sufficient permissions to manage storage providers and interact with the resource upload API. Depending on the privileges of the Casdoor service account, this vulnerability may allow escalation from application-level access to full host compromise.

Solution

A pull request has been submitted to the Casdoor repository that implements proper validation of storage paths, available here: https://github.com/casdoor/casdoor/pull/5458 . Otherwise, deployments should limit administrative access and restrict the filesystem permissions of the Casdoor service account. Administrators should avoid using the Local File System provider or disable this service in multi-user or exposed environments.

Acknowledgements

Thanks to Danilo Dell'Orco for researching and reporting this vulnerability. This document was written by Molly Jaconski.

Vendor Information

Filter by content: Additional information available

 Sort by:


Other Information

CVE IDs: CVE-2026-6815
API URL: VINCE JSON | CSAF
Date Public: 2026-05-11
Date First Published: 2026-05-11
Date Last Updated: 2026-05-11 14:48 UTC
Document Revision: 2