Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege CRM credentials
-
DeliveryAccess compose email function
-
ExploitInject malicious code in email parameters
-
ExecutionTrigger code execution on server
-
ImpactExtract sensitive CRM data or modify records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must possess valid low-privilege authenticated credentials to Krayin CRM (PR:L from CVSS vector). The compose email function must be accessible to the authenticated user's role - standard CRM deployments typically grant email composition capabilities to most user types including sales staff and support agents. No special server configuration or non-default features are required beyond standard Krayin CRM 2.1.5 installation. Network access to the CRM web interface is required (AV:N), but no user interaction beyond the attacker's own actions is necessary (UI:N). The vulnerability exists in default configurations, making all unpatched 2.1.5 instances exploitable. Limiting factors include the authentication requirement (blocks completely unauthenticated remote exploitation) and unchanged scope (S:U in CVSS vector indicates impact contained to application context rather than underlying system compromise). |
| Impact | Real-world risk is HIGH based on converging threat signals. CVSS 8.1 reflects network-exploitable code execution requiring only low-privilege authentication (PR:L), meaning any authenticated CRM user can potentially exploit this. The attack complexity is low (AC:L) with no user interaction required (UI:N), enabling reliable exploitation. A public proof-of-concept repository exists (cybercrewinc/CVE-2026-36340), dramatically increasing attacker capability. While no CISA KEV listing indicates this hasn't been observed in widespread attacks, the combination of public exploit code, clear fix version, and high-impact code execution makes this a priority remediation target. The scope is unchanged (S:U), limiting impact to the CRM application context, but high confidentiality and integrity impact (C:H/I:H) enables data theft and manipulation. Organizations must weigh the PR:L requirement - attackers need valid credentials, but in CRM deployments with external partner access or compromised employee accounts, this barrier is minimal. The availability of version 2.1.6 patch since the vulnerability's disclosure provides clear remediation path. |
| Exploit ScenarioDerived | An authenticated attacker with low-privilege CRM user credentials accesses the compose email function in Krayin CRM 2.1.5. By injecting malicious code into email composition fields (likely subject, body, or template parameters), the attacker exploits insufficient input validation to execute arbitrary code on the server. The public proof-of-concept (github.com/cybercrewinc/CVE-2026-36340) provides ready-made exploit code, enabling even moderately skilled attackers to achieve code execution. Successful exploitation grants the attacker ability to read sensitive customer data, modify CRM records, or establish persistent backdoors within the application context, all while operating under legitimate user credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 30, 2026
Remote code execution in Krayin CRM 2.1.5 allows authenticated attackers to execute arbitrary code through the compose email function via code injection. The vulnerability was patched in version 2.1.6 released by the vendor. A public proof-of-concept exploit exists on GitHub (cybercrewinc/CVE-2026-36340), significantly lowering the barrier to exploitation. With CVSS 8.1 (High) and network accessibility requiring only low-privilege authentication, this presents immediate risk to organizations running unpatched Krayin CRM instances, particularly those exposing the CRM to internal users or external partners.
RemediationAI
Immediately upgrade to Krayin CRM version 2.1.6 or later from the official GitHub repository (https://github.com/krayin/laravel-crm/releases/tag/v2.1.6). The release specifically addresses this code injection vulnerability alongside XSS issues. Standard Laravel upgrade procedures should be followed including backing up the database, updating composer dependencies, and running database migrations. If immediate patching is not feasible, implement these compensating controls with noted limitations: restrict access to the compose email function through role-based access controls in Krayin settings (reduces attack surface but doesn't eliminate risk from compromised low-privilege accounts); deploy web application firewall rules to filter suspicious input patterns in email composition endpoints (may cause false positives and can be bypassed with encoding techniques); monitor application logs for unusual email composition activity or Laravel error logs indicating code execution attempts (detective control only, does not prevent exploitation). Network-level controls like limiting CRM access to trusted IP ranges reduce remote attack vectors but don't address insider threat scenarios. No compensating control fully mitigates CWE-94 code injection - patching remains the only complete solution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Krayin CRM is an open-source customer relationship management application built on Laravel framework. This vulnerability stems from CWE-94 (Improper Control of Generation of Code/Code Injection) affecting the email composition functionality. The flaw allows injection of executable code through user-controlled input in the compose email feature, which is then processed without adequate sanitization or validation. The Laravel-based architecture suggests the vulnerability may involve unsafe evaluation of user input during email template processing or SMTP configuration handling. Interestingly, the v2.1.6 release notes reference fixing a Cross-Site Scripting (XSS) vulnerability rather than explicitly mentioning RCE, suggesting either the vendor minimized the severity in public communications or the code injection can manifest as both XSS and RCE depending on exploitation context.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
An issue in Krayin CRM v.2.1.5 and fixed in v.2.1.6 allows a remote attacker to execute arbitrary code via the compose email function
Executive ViewAI
Krayin CRM 2.1.5 contains a remote code execution vulnerability in the email composition feature that allows authenticated users to inject and execute arbitrary code on the server. Organizations running this version face immediate risk of system compromise through internal users or partner accounts, with publicly available exploit code reducing the technical barrier to attack.
Vendor-released patch available in version 2.1.6. If immediate patching is not possible: (1) Restrict the email compose feature to administrative users only via access controls; (2) Implement network-level access controls to limit CRM access to trusted internal IP ranges; (3) Monitor compose email function logs for suspicious activity and code injection patterns; (4) Disable external partner or low-privilege user access to email composition until patched.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-26382
GHSA-32px-ccfx-cxq3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB