Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as administrator
-
DeliveryAccess theme file management API
-
ExploitInclude path traversal sequences in request
-
ExecutionWrite PHP file to arbitrary directory
-
ImpactExecute arbitrary code on server
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 | Requires authenticated administrator access to baserCMS versions prior to 5.2.3. Attacker exploits path traversal in theme file management API endpoint (/baser/api/admin/bc-theme-file/theme_files/add.json) by injecting ../ sequences to write arbitrary PHP files outside theme directory, achieving remote code execution. |
| Impact | The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) indicates network-exploitable vulnerability with low complexity but requiring high privileges (administrator access). While the 7.2 score is elevated due to complete CIA triad impact, the practical risk depends heavily on the threat model. In scenarios where administrator credentials are compromised (phishing, credential stuffing, insider threat), this becomes a critical privilege escalation to RCE vector. No CISA KEV listing suggests no confirmed active exploitation in critical infrastructure, and absence of public POC references in the intelligence data indicates exploitation requires recreating the attack from advisory details. The low attack complexity (AC:L) means exploitation is straightforward once admin access is obtained. Organizations should prioritize remediation based on their administrator account security posture and whether baserCMS instances are exposed to untrusted administrators or compromised admin sessions. The vulnerability represents a post-authentication attack surface expansion rather than an initial access vector, which moderates urgency compared to unauthenticated RCE vulnerabilities. |
| Exploit ScenarioDerived | An attacker who has compromised administrator credentials (through phishing, session hijacking, or insider access) authenticates to the baserCMS administrative interface and sends a crafted API request to the theme file management endpoint (/baser/api/admin/bc-theme-file/theme_files/add.json) with a malicious path parameter containing directory traversal sequences such as ../../../../public_html/shell.php. The vulnerable API writes attacker-controlled PHP code to a web-accessible directory outside the theme folder. The attacker then directly accesses the newly created PHP webshell via HTTP request, gaining arbitrary code execution with the privileges of the web server process, enabling data exfiltration, lateral movement, or full system compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Authenticated path traversal in baserCMS theme file management API (versions prior to 5.2.3) enables arbitrary file write, allowing administrators to create malicious PHP files outside the theme directory and achieve remote code execution. The vulnerability (CWE-22) requires high privileges (PR:H) but has low attack complexity (AC:L) with network access (AV:N). CVSS score of 7.2 reflects the significant impact when administrator credentials are compromised. No public exploit code or CISA KEV listing identified at time of analysis, though the technical details in the advisory provide sufficient information for weaponization.
RemediationAI
Vendor-released patch: baserCMS version 5.2.3 addresses this vulnerability and should be deployed immediately. Organizations should upgrade all baserCMS instances to version 5.2.3 or later using the official release available at https://github.com/baserproject/basercms/releases/tag/5.2.3. Prior to patching, review administrator access logs for suspicious theme file upload activity, particularly API requests to the /baser/api/admin/bc-theme-file/theme_files/add.json endpoint with unusual path parameters containing directory traversal sequences. As a temporary risk mitigation measure until patching is complete, restrict administrator account access through network segmentation, implement additional authentication controls (MFA), and monitor filesystem integrity for unexpected PHP files in non-theme directories. Consult the official security advisory at https://basercms.net/security/JVN_20837860 for additional vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
baserCMS is a PHP-based website development framework. The vulnerability exists in the theme file management API endpoint (/baser/api/admin/bc-theme-file/theme_files/add.json) which fails to properly sanitize user-supplied path parameters. The root cause is a classic path traversal (CWE-22) vulnerability where the API accepts directory traversal sequences (../) in the path parameter without adequate validation or canonicalization. This allows an authenticated administrator to escape the intended theme directory constraints and write files to arbitrary filesystem locations. Since baserCMS is a PHP application, an attacker can write executable PHP code to web-accessible directories, converting the arbitrary file write primitive into remote code execution. The affected CPE (cpe:2.3:a:baserproject:basercms) covers all versions prior to the patched release 5.2.3.
Know when Basercms 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:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
baserCMS is a website development framework. Prior to version 5.2.3, a path traversal vulnerability exists in the theme file management API (/baser/api/admin/bc-theme-file/theme_files/add.json) that allows arbitrary file write. An authenticated administrator can include ../ sequences in the path parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE). This issue has been patched in version 5.2.3.
Executive ViewAI
baserCMS versions prior to 5.2.3 contain an authenticated path traversal vulnerability in the theme file management API that allows compromised administrator accounts to execute arbitrary code on the server. Organizations running affected versions face critical risk if administrative credentials are exposed, as attackers can bypass file upload restrictions and deploy malicious PHP code with full application privileges.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrator account access to trusted IP ranges only; (2) Implement file integrity monitoring on theme directories and web root to detect unauthorized PHP file creation; (3) Disable PHP execution in theme directories via web server configuration (.htaccess or nginx rules); (4) Enforce mandatory multi-factor authentication for all administrator accounts; (5) Conduct immediate audit of administrator account activity logs for suspicious file operations; (6) Consider temporary restriction of theme file management functionality if operationally feasible until patch availability is confirmed.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in baserCMS Multiple Vulnerabilities
View all 9In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the
Authorization bypass in baserCMS before 5.3.0 lets an authenticated operator account read administrator-restricted confi
SQL injection vulnerability in the baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to execute arb
baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita
baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
SQL injection in baserCMS 5.0.0 through 5.3.1 and 5.4.0 through 5.4.1 allows a user who can log into the admin panel to
baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows an attacker to execute arbitrary PHP code on the server via unspec
EUVD-2026-17267
GHSA-c5c6-37vq-pjcq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB