Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.2

BoidCMS versions prior to 2.1.3 allow attackers to access and run server files

CVE-2026-39387
Summary

Versions of BoidCMS before 2.1.3 are vulnerable to a serious security flaw that lets an attacker access and potentially run files on the server. This could allow an authorized user to upload a malicious file and execute it on the server. To fix this, update to version 2.1.3 or later.

Original title
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...
Original 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.
nvd CVSS3.1 7.2
Vulnerability type
CWE-98 Improper Control of Filename for Include
Published: 14 Apr 2026 · Updated: 15 Apr 2026 · First seen: 15 Apr 2026