Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-39387 — BoidCMS <= 2.1.2 RCE Exploit | Kitploit
Tools/GitHubGitHub/xp1tr/cve-2026-39387
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubxp1tr/cve-2026-39387

CVE-2026-39387

BoidCMS <= 2.1.2 RCE Exploit

View Repository
14 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-39387 — BoidCMS Authenticated File Upload to RCE via Template Injection

Description

BoidCMS <= 2.1.2 allows an authenticated attacker to achieve Remote Code Execution (RCE) by combining two weaknesses:

  1. Unrestricted file upload — the media upload endpoint accepts files with image MIME types (e.g. image/gif) without validating actual file contents, allowing PHP code embedded in a GIF file to be stored on the server.
  2. Arbitrary template path — the page creation endpoint accepts a user-controlled tpl parameter that is resolved relative to the themes directory without sanitization, enabling path traversal (e.g. ../../media/shell.gif) to point a page's template at the uploaded file.

When the crafted page is rendered, the PHP interpreter executes the embedded payload.

Affected Software

Download Tool
FieldValue
SoftwareBoidCMS
Versions<= 2.1.2
CVECVE-2026-39387

Prerequisites

  • Valid credentials for a BoidCMS admin account.

Usage

root@kitploit:~
python3 CVE-2026-39387.py -u <target_url> -l <username> -p <password>

Arguments

FlagDescriptionExample
-u, --urlBase URL of the target BoidCMS sitehttp://target.com
-l, --userAdmin usernameadmin
-p, --passwdAdmin passwordpassword123

Example

root@kitploit:~
python3 CVE-2026-39387.py -u http://target.com -l admin -p password123

Once the exploit completes, an interactive shell prompt (cmd >>) is provided for command execution on the remote host.

Exploit Flow

root@kitploit:~
1. Login          →  POST /admin (with CSRF token)
2. Upload shell   →  POST /admin?page=media  (shell.gif containing PHP payload)
3. Create page    →  POST /admin?page=create (tpl=../../media/shell.gif)
4. Execute shell  →  GET /<permalink>?cmd=<command>

Dependencies

root@kitploit:~
pip install requests

Disclaimer

This exploit is provided for educational purposes and authorized security testing only. Unauthorized use against systems you do not own or have explicit permission to test is illegal and unethical.

References

  • NVD — CVE-2026-39387
  • BoidCMS