CVE-2026-39387
Last modified
CVE-2026-39387 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Boidcms | Boidcms | < 2.1.3 |
References
- https://github.com/BoidCMS/BoidCMS/releases/tag/v2.1.3Product, Release Notes
- https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-45xp-xw54-6cv6Exploit, Mitigation, Vendor Advisory
- https://github.com/BoidCMS/BoidCMS/security/advisories/GHSA-45xp-xw54-6cv6Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-39387?
How severe is CVE-2026-39387?
How do I fix CVE-2026-39387?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-39381Parse Server is an open source backend that can be deployed …4.3
- CVE-2026-39382dbt enables data analysts and engineers to transform their d…9.3
- CVE-2026-39383Gotenberg is an API-based document conversion tool. In versi…7.2
- CVE-2026-39384FreeScout is a free help desk and shared inbox built with PH…7.6
- CVE-2026-39385Frappe LMS is an open source learning management system. In …7.1
- CVE-2026-39386Neko is a a self-hosted virtual browser that runs in Docker …8.8
- CVE-2026-39388OpenBao is an open source identity-based secrets management …3.1
- CVE-2026-39389CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …7.2
- CVE-2026-3939Insufficient policy enforcement in PDF in Google Chrome prio…5.3
- CVE-2026-39390CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …4.8
- CVE-2026-39391CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …4.8
- CVE-2026-39392CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a …4.8
Are you affected by CVE-2026-39387?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
