Boidcms
CVE-2026-39387
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryUpload file with embedded PHP to media/
-
ExploitEdit page with traversal payload in tpl parameter
-
ExecutionApplication executes require_once() on malicious file
-
PersistArbitrary code runs as web server user
-
ImpactEstablish persistence or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control 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 BoidCMS versions prior to 2.1.3. Attacker must inject path traversal sequences (../) into the unsanitized tpl parameter during page creation/updates to exploit the Local File Inclusion vulnerability leading to RCE. |
| Impact | Real-world risk is moderate despite the 7.2 CVSS score. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) indicates network-accessible exploitation with low complexity, but requires high privileges (administrator authentication), which significantly constrains the attack surface. The vulnerability is exploitable only by authenticated admin users, limiting exposure to insider threats, compromised admin credentials, or chained attacks where an initial foothold grants admin access. Attack complexity is genuinely low once authenticated-the two-step chain (upload malicious file, then trigger inclusion via path traversal) requires no specialized tools or race conditions. No EPSS score provided, but absence from CISA KEV and lack of public exploit code suggest this is not being actively exploited at scale. However, the technical simplicity means proof-of-concept development is trivial for skilled attackers. The SSVC technical impact is total (arbitrary code execution with web server privileges grants complete application compromise), and while not automatable at internet scale due to auth requirements, it is highly automatable post-authentication. Organizations running BoidCMS should prioritize this patch, particularly in multi-tenant or hosting environments where administrator access may be distributed across trust boundaries. |
| Exploit ScenarioDerived | An attacker with compromised administrator credentials logs into the BoidCMS backend and navigates to the file upload functionality. They upload a seemingly benign image file that contains embedded PHP code hidden within image metadata or appended data. Next, they create or edit a page and manipulate the tpl parameter to inject a path traversal payload such as ../../../../media/malicious_image.jpg. When the page is saved or previewed, the application passes this traversal sequence directly to require_once(), escaping the themes directory and including the uploaded file from the media directory. The PHP interpreter executes the embedded code with web server privileges, granting the attacker a web shell for persistent access, data exfiltration, or lateral movement within the hosting environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 15, 2026
Local File Inclusion in BoidCMS versions prior to 2.1.3 enables authenticated administrators to execute arbitrary PHP code via path traversal in the tpl parameter combined with file upload. The vulnerability chains unsanitized require_once() inclusion with media upload functionality, allowing attackers to upload malicious files and force their execution with web server privileges. Vendor-released patch available in version 2.1.3. CVSS 7.2 reflects high-privilege requirement (administrator access), but exploitation complexity is low once authenticated. No CISA KEV listing or public exploit code identified at time of analysis.
RemediationAI
Upgrade immediately to BoidCMS version 2.1.3, which contains input validation fixes that prevent path traversal in the tpl parameter. The patched version is available from the official GitHub releases page at https://github.com/BoidCMS/BoidCMS/releases/tag/v2.1.3. Review the security advisory at https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-45xp-xw54-6cv6 for additional context. After upgrading, audit existing page configurations for suspicious tpl values containing traversal sequences and review media upload directories for files with embedded PHP code uploaded by admin accounts. As a temporary mitigation for environments where immediate patching is not feasible, restrict administrator account access to only trusted personnel, implement web application firewall rules to block requests containing directory traversal patterns in the tpl parameter, and consider filesystem-level restrictions preventing the web server from executing files in the media upload directory.
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
BoidCMS is a flat-file content management system written in PHP that uses JSON for data persistence rather than traditional databases. The vulnerability stems from CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), a class of injection flaws where user-controlled input flows directly into file inclusion functions. The application's page creation and update functionality accepts a tpl (template) parameter intended to specify theme files, but passes this value unsanitized to PHP's require_once() statement. Without path canonicalization or whitelist validation, attackers can inject directory traversal sequences (../) to escape the intended /themes/ directory scope. PHP's require_once() executes any included file as code, so traversing to the /media/ upload directory and including a file containing embedded PHP transforms a path traversal vulnerability into remote code execution. This attack pattern is particularly dangerous in flat-file CMS architectures where upload directories and executable content share the same filesystem hierarchy without isolation.
Know when Boidcms 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 Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
DescriptionCVE.org
BoidCMS is an open-source, PHP-based flat-file CMS for building simple websites and blogs, using JSON as its database. Versions prior to 2.1.3 are vulnerable to a critical Local File Inclusion (LFI) attack via the tpl parameter, which can lead to Remote Code Execution (RCE).The application fails to sanitize the tpl (template) parameter during page creation and updates. This parameter is passed directly to a require_once() statement without path validation. An authenticated administrator can exploit this by injecting path traversal sequences (../) into the tpl value to escape the intended theme directory and include arbitrary files - specifically, files from the server's media/ directory. When combined with the file upload functionality, this becomes a full RCE chain: an attacker can first upload a file with embedded PHP code (e.g., disguised as image data), then use the path traversal vulnerability to include that file via require_once(), executing the embedded code with web server privileges. This issue has been fixed in version 2.1.3.
Executive ViewAI
BoidCMS versions prior to 2.1.3 contain a local file inclusion vulnerability that allows authenticated administrators to execute arbitrary PHP code through path traversal and file upload chaining. Organizations running affected BoidCMS installations face risk of administrative account compromise leading to complete application compromise and potential lateral movement. This requires immediate inventory and upgrade action to prevent insider threats and account takeover scenarios.
Vendor-released patch: version 2.1.3. Until patch deployment: (1) Restrict BoidCMS administrator access to named, trusted users only; (2) Disable or restrict file upload functionality if operationally feasible; (3) Implement Web Application Firewall rules to block path traversal patterns in the tpl parameter; (4) Monitor web server logs for suspicious require_once() calls and unexpected PHP file execution.
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
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
File Upload vulnerability in BoidCMS v.2.0.0 allows a remote attacker to execute arbitrary code by adding a GIF header t
A cross-site scripting (XSS) vulnerability in the Create Page of Boid CMS v2.1.0 allows attackers to execute arbitrary w
A cross-site scripting (XSS) vulnerability in the Create Page of Boid CMS v2.1.0 allows attackers to execute arbitrary w
BoidCMS 2.0.1 is vulnerable to Multiple Stored Cross-Site Scripting (XSS) issues via the title, subtitle, footer, or key
BoidCMS is a free and open-source flat file CMS for building simple websites and blogs, developed using PHP and uses JSO
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB