Description
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.
Published: 2026-04-13
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized access and deletion of other users’ attachments
Action: Immediate Patch
AI Analysis

Impact

EspoCRM contains an IDOR flaw in the POST /api/v1/Email/importEml endpoint that allows any authenticated user with Email:create and Import permissions to provide a fileId and read the contents of another user’s .eml attachment. The endpoint also deletes the original attachment record as part of the import flow, which violates the standard permission checks applied to attachment download. This results in confidential data exposure and accidental loss of attachment data for the victim.

Affected Systems

The vulnerability is present in EspoCRM versions 9.3.3 and earlier. Version 9.3.4 and later contain a fix that enforces proper access control on attachment retrieval.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. Exploitation requires a legitimate Authenticated user who has the Email:create and Import permissions, which limits the attack surface to users with those rights. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. However, attachment IDs are frequently exposed in normal UI and API workflows, making the IDOR practically exploitable for users who meet the permission criteria.

Generated by OpenCVE AI on April 13, 2026 at 22:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the 9.3.4 patch or later immediately.
  • If patching cannot be done promptly, restrict the Email:create and Import permissions to trusted users or disable the importEml endpoint until the vulnerability is fixed.
  • Verify that the IDOR is no longer present by attempting to access another user’s attachment ID with the same permissions after applying the fix.

Generated by OpenCVE AI on April 13, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:espocrm:espocrm:*:*:*:*:*:*:*:*

Tue, 14 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Espocrm
Espocrm espocrm
Vendors & Products Espocrm
Espocrm espocrm

Tue, 14 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Apr 2026 21:00:00 +0000

Type Values Removed Values Added
Description 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.
Title EspoCRM: Email importEml can import and delete another user's attachment by raw fileId
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-14T15:50:45.744Z

Reserved: 2026-03-23T17:34:57.561Z

Link: CVE-2026-33740

cve-icon Vulnrichment

Updated: 2026-04-14T15:50:41.690Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-13T21:16:25.007

Modified: 2026-04-22T00:04:34.337

Link: CVE-2026-33740

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:33:19Z

Weaknesses