CVE-2026-33740CWE-639

EspoCRM: Email importEml can import and delete another user's attachment by raw fileId

Medium · published April 13, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
22.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00304 · 22.0th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-04-13T20:37Z
EPSS history
Timeline
  • 13 APR 20:37Z
    EspoCRM: Email importEml can import and delete another user's attachment by raw fileId
    cvelistv5