Remote Code Execution in GestSup IMAP Connector
GestSup versions before 3.2.61 are vulnerable to unauthenticated remote code execution via malicious file attachments in the IMAP connector.
CVE search metadata
CVE search record: CVE-2026-100389. Severity: high. CVSS: 8.1. KEV: no. Product: GestSup (< 3.2.61). Brief: Remote Code Execution in GestSup IMAP Connector. Brief link: https://feed.craftedsignal.io/briefs/2026-09-gestsup-rce/
GestSup versions prior to 3.2.61 contain a critical remote code execution (RCE) vulnerability located within the basic IMAP connector's attachment handling logic. The vulnerability exists because the software fails to properly validate or filter blocked file extensions when processing incoming emails for support tickets.
An unauthenticated attacker can exploit this flaw by sending an email containing a malicious PHP script as an attachment to a mailbox monitored by the GestSup IMAP connector. The application subsequently saves this attachment directly to a web-accessible directory, specifically the upload/ticket folder. By navigating to the URL of the uploaded file, an attacker can trigger the execution of the PHP script, gaining unauthorized code execution on the underlying server. This flaw poses a high risk to organizations relying on the IMAP integration for automated ticket creation.
Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary code on the web server hosting GestSup. This can lead to full system compromise, data theft from the ticketing system, and potential lateral movement into the internal network environment.
Recommendation
- Immediately upgrade GestSup to version 3.2.61 or later to implement proper file extension validation.
- Restrict access to the upload/ticket directory via web server configuration to prevent direct execution of PHP or other script files.
- Audit the upload/ticket directory for any unauthorized PHP files or anomalous scripts that may have been uploaded via the IMAP connector.
Immediate actions
Upgrade GestSup to 3.2.61 or later
Mitigations
Disable PHP execution in the upload/ticket directory via web server configuration
CVE-2026-100389