Cyber Resilience

CVE-2026-39387

HighPublic PoC

Published: 14 April 2026

Published
14 April 2026
Modified
23 April 2026
KEV Added
Patch
CVSS Score v3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0015 36.1th percentile
Risk Priority 14 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-39387 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Boidcms Boidcms. Its CVSS base score is 7.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 36.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 AC-3 (Access Enforcement) and SI-10 (Information Input Validation).

Deeper analysis

CVE-2026-39387 is a critical Local File Inclusion (LFI) vulnerability in BoidCMS, an open-source PHP-based flat-file content management system that uses JSON as its database. Versions prior to 2.1.3 fail to sanitize the "tpl" template parameter during page creation and updates, passing it directly to a require_once() statement without path validation. This allows attackers to inject path traversal sequences, such as "../", to escape the intended theme directory and include arbitrary files, particularly from the server's media/ directory. The flaw is classified under CWE-98 and carries a CVSS v3.1 base score of 7.2 (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).

An authenticated administrator can exploit this vulnerability to achieve remote code execution (RCE). The attack chain begins with uploading a malicious file containing embedded PHP code, disguised as an image via the file upload functionality. The attacker then manipulates the "tpl" parameter with path traversal to include the uploaded file through require_once(), executing the PHP code with web server privileges.

The vulnerability has been addressed in BoidCMS version 2.1.3. Administrators are advised to upgrade immediately to mitigate the issue. Official details are provided in the GitHub security advisory GHSA-45xp-xw54-6cv6 and the release notes for tag v2.1.3.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

LFI with path traversal in public-facing PHP web app enables RCE by including/executing uploaded malicious PHP code, directly mapping to exploitation of public-facing applications and web shell deployment.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

CVEs Like This One

CVE-2024-13408Shared CWE-98
CVE-2026-3425Shared CWE-98
CVE-2026-27383Shared CWE-98
CVE-2024-51319Shared CWE-98
CVE-2025-30845Shared CWE-98
CVE-2025-26985Shared CWE-98
CVE-2025-52732Shared CWE-98
CVE-2025-69078Shared CWE-98
CVE-2026-24538Shared CWE-98
CVE-2025-54031Shared CWE-98

Affected Assets

boidcms
boidcms
≤ 2.1.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Requires validation and sanitization of the tpl parameter to block path traversal sequences that enable LFI and subsequent RCE via arbitrary file inclusion.

prevent

Mandates timely flaw remediation by upgrading BoidCMS to version 2.1.3, which fixes the unsanitized tpl parameter vulnerability.

prevent

Enforces logical access controls to restrict require_once() to authorized template paths within the theme directory, preventing inclusion of arbitrary files like uploaded malicious media.

References