CVE-2021-42840
HighPublic exploitSuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting.
Published Oct 22, 2021 · Updated Aug 27, 2026 · Also known as BIT-suitecrm-2021-42840
Key Facts
Patch immediately- CVE-2021-42840 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Suitecrm (Salesagility).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 59% probability of exploitation in the next 30 days.
- Fixed versions are available, including Suitecrm 7.11.19.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
59%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2021-42840 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting. In certain circumstances involving admin account takeover, logger_file_name can refer to an attacker-controlled PHP file under the web root, because only the all-lowercase PHP file extensions were blocked. NOTE: this issue exists because of an incomplete fix for CVE-2020-28328.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SuitecrmSalesagility | See advisory | 7.11.19 |
Patched Releases
Suitecrm
7.11.19
Timeline
Publicly disclosed
Oct 22, 2021
Last updated
Aug 27, 2026
Weakness Type
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
- advisoryhttps://docs.suitecrm.com/admin/releases/7.11.x/#_7_11_19
- advisoryhttps://github.com/rapid7/metasploit-framework/commits/master/modules/exploits/linux/http/suitecrm_log_file_rce.rb
- advisoryhttps://suitecrm.com/time-to-upgrade-suitecrm-7-11-19-7-10-30-lts-released/
- exploithttp://packetstormsecurity.com/files/165001/SuiteCRM-7.11.18-Remote-Code-Execution.html
- exploitMSF suitecrm_log_file_rce.rb
FAQ
Common Questions.
SuiteCRM before 7.11.19 allows remote code execution via the system settings Log File Name setting.
Affected: Suitecrm (Salesagility). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Suitecrm 7.11.19.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-42840 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo