EspoCRM: Email importEml can import and delete another user's attachment by raw fileId
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-639.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA espocrm (espocrm) Fixed in 9.3.4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33740
References
More Espocrm vulnerabilities
- TI-2020-19229 EspoCRM 5.7.0 < 5.9.0 - Two-Factor Authentication Bypass via Auth Token Reuse Between Accounts with Identical Passwords CVSS 4.0HIGH 8.6
- TI-2026-26036 Path traversal in espocrm CVSS 3.1CRITICAL 9.1
- TI-2025-32670 EspoCRM vulnerable to LDAP Injection through Improper Neutralization of Special Elements CVSS 3.1MEDIUM 6.5
- TI-2026-26112 EspoCRM has Admin TemplateManager path traversal that allows arbitrary file read write and delete CVSS 3.1HIGH 7.2
- TI-2025-23468 EspoCRM vulnerable to HTML Injection into phishing, which may lead to account takeover CVSS 4.0HIGH 7.0
- TI-2024-16335 EspoCRM weakness in "Forgot password" CVSS 3.1MEDIUM 5.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences