Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid ChanCMS user credentials
-
DeliveryAuthenticate to ChanCMS application
-
ExploitLocate or access delfile function endpoint
-
InstallCraft path traversal payload with '../' sequences
-
C2Submit malicious file deletion request
-
ExecuteTraverse outside intended directory
-
ImpactRead or delete arbitrary system 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 | An attacker must possess valid ChanCMS user credentials (login required - PR:L in CVSS vector). The delfile function must be accessible and accepting untrusted file path input from the authenticated user. The vulnerability is triggered when an authenticated user supplies a path traversal payload (containing '../' sequences or absolute paths) to the delfile function parameter. The attack is not limited by user interaction requirement (UI:N) or timing; it executes immediately upon crafted request submission. The vulnerability is NOT exploitable by unauthenticated remote users - authentication is a hard prerequisite, which significantly limits real-world exploitation scope compared to unauthenticated critical vulnerabilities. |
| Impact | This vulnerability presents a disconnect between its critical CVE rating and its actual real-world risk profile. The CVSS 4.0 vector indicates low overall severity (score 2.1): authenticated access is required (PR:L), and impact is limited to low confidentiality, integrity, and availability (VC:N, VI:L, VA:L). The EPSS score of 0.18% (39th percentile) indicates very low probability of widespread exploitation despite public exploit availability, suggesting this remains a targeted or niche vulnerability affecting specific ChanCMS deployments. KEV status is not confirmed in the provided data. The exploit's public disclosure and POC availability elevate the risk for organizations actively running unpatched ChanCMS instances with privileged user accounts, but the authentication requirement significantly reduces attack surface compared to unauthenticated vulnerabilities. Risk is highest for ChanCMS installations where trusted users may be compromised or where internal users have malicious intent; external attackers must first obtain valid credentials. The low EPSS percentile suggests limited real-world traction, potentially due to ChanCMS being a niche or regional CMS with smaller deployment base. |
| Exploit ScenarioDerived | An authenticated user with access to ChanCMS administrative features (e.g., content editor or file manager role) supplies a crafted path traversal payload such as '../../../etc/passwd' or '../../../config.js' to the delfile function via an HTTP request. The function fails to validate the path and processes the traversal sequence, allowing the attacker to delete or read arbitrary files outside the intended application directory, potentially compromising system configuration files, application credentials, or other sensitive data stored on the server. Public exploit code demonstrating this technique is available on the Gitee issues tracker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Path traversal in ChanCMS up to version 3.1.2 allows authenticated remote attackers to read or modify arbitrary files via the delfile function in app/extend/utils.js, with publicly available exploit code disclosed. CVSS score of 2.1 reflects low impact (integrity and availability limited to low confidentiality) and requirement for authenticated access, though the vulnerability affects a core file deletion utility. Vendor-released patch available in version 3.1.3.
RemediationAI
Upgrade ChanCMS to version 3.1.3 or later immediately. The vendor-released patch is available via the official Gitee repository (https://gitee.com/yanyutao0402/ChanCMS/releases/tag/V3.1.3), with the specific patch commit c8a282bf02a62b59ec60b4699e91c51aff2ee9cd addressing the path traversal vulnerability. As an interim compensating control pending patching, restrict user access to ChanCMS administrative or file management functions to only trusted internal staff, and implement file system permissions to limit the scope of deletable files (e.g., read-only or restricted-write ACLs on sensitive system directories outside the ChanCMS application folder). Review access logs and audit user privilege assignments to identify any accounts with unnecessary file deletion permissions, and consider disabling the delfile function entirely if not actively used. These controls mitigate attack impact but do not eliminate the vulnerability; patching is essential.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ChanCMS is a content management system written in Node.js. The vulnerability exists in the delfile function within app/extend/utils.js, a utility module that handles file deletion operations. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / Path Traversal), meaning the function fails to properly validate or sanitize file path inputs before processing deletion requests. An authenticated attacker can supply crafted path traversal sequences (e.g., '../../../') in parameters passed to delfile, allowing the function to access and delete files outside the intended application directory structure. The attack vector is network-based with low complexity and requires authenticated user privileges (PR:L per CVSS 4.0 vector).
Know when Chancms 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:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability was found in yanyutao0402 ChanCMS up to 3.1.2. It has been rated as critical. Affected by this issue is the function delfile of the file app/extend/utils.js. The manipulation leads to path traversal. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 3.1.3 is able to address this issue. The name of the patch is c8a282bf02a62b59ec60b4699e91c51aff2ee9cd. It is recommended to upgrade the affected component.
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.
Affected Products (CPE)CVE.org
Unauthenticated remote code execution affects ChanCMS v3.3.4 through template injection in the /vip/v1/file/save compone
A security vulnerability has been detected in yanyutao0402 ChanCMS 3.3.0. Rated medium severity (CVSS 5.3), this vulnera
Unsafe deserialization in ChanCMS up to version 3.1.2 allows authenticated remote attackers to achieve limited confident
A weakness has been identified in yanyutao0402 ChanCMS up to 3.3.0. Rated medium severity (CVSS 5.3), this vulnerability
Unsafe deserialization in ChanCMS up to version 3.1.2 allows authenticated remote attackers to trigger deserialization v
Server-side request forgery in ChanCMS up to version 3.1.2 allows authenticated attackers to conduct SSRF attacks via th
ChanCMS up to version 3.1.2 permits information disclosure through improper validation of accessKey and secretKey parame
Server-side request forgery in ChanCMS up to version 3.1.2 allows authenticated remote attackers to manipulate the targe
Code injection in ChanCMS up to version 3.3.2 via the getArticle function in app/modules/cms/controller/gather.js allows
A vulnerability was identified in ChanCMS up to 3.3.1. Rated medium severity (CVSS 5.3), this vulnerability is remotely
A vulnerability has been found in yanyutao0402 ChanCMS up to 3.3.1. Rated medium severity (CVSS 5.3), this vulnerability
A flaw has been found in yanyutao0402 ChanCMS up to 3.3.1. Rated medium severity (CVSS 5.3), this vulnerability is remot
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB