CVE-2026-33740: EspoCRM: Email importEml can import and delete another user's attachment by raw fileId
EspoCRM is an open source customer relationship management application. In versions 9.3.3 and below, the POST /api/v1/Email/importEml endpoint contains an Insecure Direct Object Reference (IDOR) vulnerability where the attacker-supplied fileId parameter is used to fetch any attachment directly from the repository without verifying that the current user has authorization to access it. Any authenticated user with Email:create and Import permissions can exploit this to read another user's .eml attachment contents by importing them as a new email into the attacker's mailbox, while the original victim attachment record is deleted as a side effect of the import flow. This is inconsistent with the standard attachment download path, which enforces ACL checks before returning file data, and is practically exploitable because attachment IDs are commonly exposed in normal UI and API workflows such as stream payloads and download links. This issue is fixed in version 9.3.4.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33740?
CVE-2026-33740 is classified as a high severity vulnerability due to the potential for unauthorized access to user attachments.
How do I fix CVE-2026-33740?
To fix CVE-2026-33740, upgrade EspoCRM to version 9.3.4 or later to address the Insecure Direct Object Reference vulnerability.
What are the impacted versions for CVE-2026-33740?
CVE-2026-33740 affects EspoCRM versions 9.3.3 and below.
What type of vulnerability is CVE-2026-33740?
CVE-2026-33740 is an Insecure Direct Object Reference (IDOR) vulnerability.
Can CVE-2026-33740 lead to data exposure?
Yes, CVE-2026-33740 can lead to unauthorized deletion or exposure of attachments belonging to other users.