Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Roundcube mailbox
-
DeliveryUpload malicious SVG/EPS as contact photo
-
ExploitImageMagick resize invokes delegate/external reference
-
ExecutionRead local file or perform SSRF
-
ImpactDisclose sensitive data or execute delegate command
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
|
| Exploitation Conditions | Exploitation requires an authenticated Roundcube account because the vulnerable code path is the contact-photo upload feature (program/actions/contacts/upload_photo.php), which processes images via rcube_image::resize() using ImageMagick. The specific precondition is that vulnerable versions accepted 'svg' and 'eps' in the $IMAGE_TYPES allow-list by default, so no non-default configuration is needed on the Roundcube side. The concrete trigger is uploading a malicious SVG or EPS file whose content references external resources or invokes ImageMagick delegates during conversion/resize. Limiting factors: a valid mailbox login is required (PR:L), no victim user interaction is needed, and the severity of the outcome is bounded by the server's ImageMagick configuration - a restrictive policy.xml that disables the SVG/EPS/HTTPS/URL coders and risky delegates substantially mitigates the file-read, SSRF, and command-execution potential. |
| Impact | This is a credible, above-average priority issue rather than a CVSS-inflated one, but it is gated by authentication. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L, base 8.3) indicates a network-reachable, low-complexity attack that requires low-level privileges (PR:L) and no user interaction - meaning any user with a valid Roundcube mailbox can trigger it by uploading a contact photo. CWE-829 (inclusion of functionality from an untrusted control sphere) plus the description's note that SVG and EPS 'can reference external resources and invoke ImageMagick delegates' points to a classic ImageMagick delegate/SSRF/file-disclosure class of flaw (ImageTragick-style), which supports the high confidentiality and integrity ratings. No EPSS score, SSVC decision data, or CISA KEV status was provided in the input, and no public exploit was identified, so exploitation probability cannot be quantified from the data given. The main caveat: real-world impact depends heavily on the server's ImageMagick delegate/policy.xml configuration - hardened installations that disable risky coders/delegates sharply reduce the C:H/I:H outcome, so the raw 8.3 may overstate risk on well-configured hosts. Authentication (PR:L) also limits this to users who already have an account, lowering mass-exploitation likelihood versus a pre-auth flaw. |
| Exploit ScenarioDerived | An authenticated Roundcube user (or an attacker who has phished or otherwise obtained a mailbox login) uploads a crafted SVG or EPS file as a contact photo. When Roundcube passes the file to ImageMagick for resizing, the embedded external references or delegate directives are processed, allowing the attacker to make the server fetch remote/local resources (SSRF, local file disclosure) or invoke delegate commands. No public proof-of-concept is identified in the provided data, but the technique mirrors well-documented ImageMagick delegate abuse. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 22, 2026
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 accepts SVG and EPS files for contact photo uploads and passes them to ImageMagick for resizing, allowing authenticated users to supply content that can reference external resources or invoke ImageMagick delegates; this may lead to file disclosure, SSRF, or command execution depending on the server's ImageMagick configuration. No public exploit has been identified at time of analysis, and vendor patches are available in 1.6.20 and 1.7.5.
RemediationAI
Upgrade to Roundcube Webmail 1.6.20 or 1.7.5, which remove 'svg' and 'eps' from the accepted contact photo image types and exclude them from ImageMagick valid types. Vendor advisory: https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5. If immediate upgrade is not possible, restrict ImageMagick's policy.xml to disable SVG, EPS, HTTPS, URL, and other risky coders and delegates; this mitigates the ImageMagick-side risk but may break legitimate processing of those formats elsewhere on the server. Additionally, consider disabling or restricting contact photo uploads until patched, though that reduces functionality. The fix commits are https://github.com/roundcube/roundcubemail/commit/8f0dc2d4675b5ec72e9746862956785f2e099fc7 and https://github.com/roundcube/roundcubemail/commit/895d88af37720d2b46e4553f524013b2e1cb7665.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Roundcube Webmail is a PHP-based webmail client. The vulnerable code path is the contact photo upload feature (program/actions/contacts/upload_photo.php), which uses rcube_image::resize() to process uploaded images with ImageMagick. By default, the $IMAGE_TYPES allow-list included 'svg' and 'eps'; both formats can contain external references and trigger ImageMagick delegates (e.g., via URL, HTTPS, or other coders) when processed. The root cause aligns with CWE-829: Inclusion of Functionality from Untrusted Control Sphere, because untrusted uploaded content is passed into a powerful image-processing engine without adequate restriction. The upstream fix removes 'svg' and 'eps' from the accepted types and updates rcube_image.php to exclude them from valid types for security reasons. CPE cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* covers the product, with the advisory specifying the affected ranges as before 1.6.20 and 1.7.x before 1.7.5.
Know when Roundcube gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Contact-photo upload requires an authenticated mailbox (PR:L) with no interaction; SVG/EPS delegate abuse enables file read/SSRF and possible command execution (C:H/I:H), partial availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 passes potentially unsafe content into ImageMagick when resizing images. SVG and EPS were accepted as valid image types for contact photo upload and conversion, and both formats can reference external resources and invoke ImageMagick delegates when processed. Upstream fixed this in the commit “Fix passing potentally unsafe attachment content into ImageMagick on image resize”, which removes svg and eps from the accepted types.
Executive ViewAI
A high-severity flaw (CVSS 8.3) in Roundcube Webmail's contact photo upload handling can let a user with a valid mailbox account push crafted SVG or EPS content into the server's ImageMagick image-processing pipeline, potentially exposing local files, reaching internal network resources, or executing commands on the mail host depending on how ImageMagick is configured. Because it sits on the mail platform itself, a successful abuse could affect the confidentiality and integrity of employee communications and adjacent infrastructure rather than a single isolated application. Vendor patches are already published, so this is a manageable, time-boxed remediation rather than an open-ended exposure.
Apply vendor patch (Roundcube 1.6.20 or 1.7.5). If patching must be staged, interim mitigations include restricting or disabling SVG and EPS as accepted contact photo formats, and hardening the server's ImageMagick policy to block URL, HTTPS, EPHEMERAL, and MSL coders plus external delegates so crafted uploads cannot reach files or network resources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Roundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows unauthorized access to arbitrary file
steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the send
Directory traversal vulnerability in the set_skin function in program/include/rcmail_output_html.php in Roundcube before
rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in
Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plu
The DBMail driver in the Password plugin in Roundcube before 1.1.0 allows remote attackers to execute arbitrary commands
A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to stea
Multiple buffer overflows in the DBMail driver in the Password plugin in Roundcube before 1.1.0 allow remote attackers t
Roundcube Webmail allows arbitrary password resets by authenticated users. Rated high severity (CVSS 8.8), this vulnerab
Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to
roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e
EUVD-2026-107704
GHSA-j8wg-2q5h-m4xq
NVD
CVE.org
EPSS
Exploit-DB