Skip to content
Vulnerability Intelligence

CVE-2021-42840

HighPublic exploit

SuiteCRM 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
ProductAffected versionsFixed in
SuitecrmSalesagilitySee advisory7.11.19

Patched Releases

Suitecrm

7.11.19

Timeline

  1. Publicly disclosed

    Oct 22, 2021

  2. Last updated

    Aug 27, 2026

Weakness Type

  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

3 more references in the full CVE brief

FAQ

Common Questions.

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