Skip to main content

Basercms CVE-2026-30940

| EUVDEUVD-2026-17267 HIGH
Path Traversal (CWE-22)
2026-03-31 GitHub_M GHSA-c5c6-37vq-pjcq
7.2
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as administrator
  2. Delivery
    Access theme file management API
  3. Exploit
    Include path traversal sequences in request
  4. Execution
    Write PHP file to arbitrary directory
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

basercms < 5.2.3

Affected Packages

composer baserproject/basercms fix: 5.2.3
euvd basercms fix: 5.2.3

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

GitHub Advisory PRIMARY 7.2 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 31, 2026 - 00:45 nvd
HIGH 7.2

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 58% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy