CVE-2026-33656 Path traversal in espocrm

Critical 9.1 Published Updated

An authenticated admin can exploit path traversal in attachment sourceId to achieve remote code execution or arbitrary file access.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-33656?

CVE-2026-33656 is a critical path traversal vulnerability in espocrm, published on 22 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

EspoCRM is an open source customer relationship management application. Prior to version 9.3.4, EspoCRM's built-in formula scripting engine allowing updating attachment's sourceId thus allowing an authenticated admin to overwrite the `sourceId` field on `Attachment` entities. Because `sourceId` is concatenated directly into a file path with no sanitization in `EspoUploadDir::getFilePath()`, an attacker can redirect any file read or write operation to an arbitrary path within the web server's `open_basedir` scope. Version 9.3.4 fixes the issue.

Weakness: CWE-22

Which versions are affected by CVE-2026-33656?

It affects 1 product.

Products include Espocrm Espocrm.

How do I fix CVE-2026-33656?

No fix has been published for CVE-2026-33656 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-33656 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33656 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-7922-x7cf-j54x.

Is CVE-2026-33656 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free