Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Roundcube webmail
-
DeliveryReach LDAP address book feature
-
ExploitSubmit input expanding via autovalues template
-
ExecutionEvaluator executes attacker-controlled PHP
-
PersistCode runs as webmail process user
-
ImpactPivot to mail data or host
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Always-incorrect control flow
|
| Exploitation Conditions | Requires a Roundcube deployment where the LDAP address book is enabled AND the administrator configured the autovalues option using templated expressions (the feature whose evaluation path was removed in 1.6.16/1.7.1). The attacker must also hold valid Roundcube credentials (CVSS PR:L) to reach the address book functionality, and CVSS AC:H indicates additional non-trivial conditions on the template content or LDAP entry data that the attacker must influence. Roundcube deployments without LDAP address book integration, or with autovalues defined as plain LDAP attribute references rather than evaluated expressions, are not exploitable. |
| Impact | Signals are mixed and lean toward moderate, not critical. CVSS 7.5 with AV:N/AC:H/PR:L/UI:N/C:H/I:H/A:H reflects network reach and full CIA impact but flags both high attack complexity and required low-level privileges, meaning an attacker needs a valid Roundcube account and must satisfy non-trivial preconditions in the LDAP autovalues template. EPSS at 0.05% (14th percentile) and the absence of KEV listing or known public PoC suggest no widespread exploitation activity at this time. The vulnerability is real and patchable, but it is not an internet-spray candidate; prioritize it behind any unauthenticated Roundcube bug (such as the pre-auth SQLi and arbitrary file delete fixed in the same release) but ahead of routine hardening. Note: 'low privileges' here per CVSS likely refers to an authenticated mail user, while exploitability further depends on administrative LDAP autovalues configuration - verify your deployment uses templated autovalues before deprioritizing. |
| Exploit ScenarioDerived | An attacker with a valid Roundcube mail account on a server whose administrators configured the LDAP address book with autovalues templates crafts contact or address-book input that, when expanded by the autovalues evaluator, yields PHP code; submitting the input through the address book causes the Roundcube backend to evaluate that code, granting arbitrary code execution under the webmail user. No public exploit is identified at time of analysis, but the patch commits themselves reveal the vulnerable evaluation pattern to anyone reviewing the diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Code injection in Roundcube Webmail 1.6.x before 1.6.16 and 1.7.x before 1.7.1 allows authenticated attackers to execute arbitrary PHP via the LDAP autovalues option, which previously evaluated user-influenced expressions as code. The upstream maintainers removed code evaluation support entirely in the fixed releases. EPSS sits at 0.05% (14th percentile) and there is no public exploit identified at time of analysis, but the issue is patched and rated CVSS 7.5.
RemediationAI
Vendor-released patch: upgrade to Roundcube Webmail 1.6.16 (for the 1.6.x branch) or 1.7.1 (for the 1.7.x branch), both published 2026-05-24 - these releases remove code evaluation support from the LDAP autovalues option entirely, per commits 6a777d7394b763ce9acfce86c1a521e14a02d862 and ea1798a6fbf060abcc0ba73b2435036bf8016a5a. If immediate upgrade is not possible, audit your LDAP address book configuration and remove or simplify any autovalues entries that rely on templated expressions, accepting the trade-off that derived contact attributes (such as composed display names or computed mail addresses) will need to be sourced directly from LDAP fields instead. As a stronger compensating control, disable LDAP address book integration in config/config.inc.php until patched, which will break enterprise directory lookups for users but eliminates the vulnerable code path. Consult the vendor advisory at https://roundcube.net/news/2026/05/24/security-updates-1.6.16-and-1.7.1 and back up data before upgrading as the release notes explicitly recommend.
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 is a widely deployed PHP-based IMAP webmail client commonly bundled with hosting control panels and Linux distributions (the Suse tag in this record reflects downstream packaging). The vulnerable code path lives in the LDAP address book integration, specifically the autovalues feature used to derive contact attributes from templated expressions. The maintainers' chosen fix - removing code evaluation entirely (commits 6a777d7 and ea1798a) - indicates the legacy implementation passed templated values into a PHP evaluator, fitting CWE-670 (Always-Incorrect Control Flow Implementation) where a control transfer to interpreted code occurred under conditions that allowed attacker-influenced data to drive execution.
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:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
1DescriptionCVE.org
Roundcube Webmail 1.6.x before 1.6.16 and 1.7.x before 1.7.1 has insecure code evaluation logic in LDAP the autovalues option that could lead to code injection. (Support for code evaluation has been removed in 1.6.16 and 1.7.1.)
Executive ViewAI
Roundcube Webmail versions 1.6.x and 1.7.x contain a code injection vulnerability allowing authenticated attackers to execute arbitrary PHP code, potentially compromising email systems and sensitive communications. While exploitation requires prior authentication, successful attacks could grant attackers full control of webmail servers. Patches are available and should be applied to all affected instances.
Apply vendor patch.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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
Same technique Code Injection
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
EUVD-2026-31717
GHSA-qhxr-pc4x-jrq3
NVD
CVE.org
EPSS
VulDB
Exploit-DB