CVE-2026-33740 EspoCRM: Email importEml can import and delete another user's attachment by raw fileId
Authenticated users can read and delete other users' email attachments via an IDOR vulnerability in the import endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-33740?
CVE-2026-33740 is a medium-severity missing authorization vulnerability in espocrm, published on 13 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-639
Which versions are affected by CVE-2026-33740?
It affects 1 product.
Products include Espocrm Espocrm.
How do I fix CVE-2026-33740?
No fix has been published for CVE-2026-33740 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-33740 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33740 exists.
Other vulnerabilities in espocrm
Sources
Also known as GHSA-wr7j-hxf8-hc4w.