
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-35540 is an insufficient CSS sanitization vulnerability in Roundcube Webmail that can lead to Server-Side Request Forgery (SSRF) or Information Disclosure when HTML email messages contain stylesheet links pointing to local network hosts. It affects Roundcube Webmail versions 1.6.0 through 1.6.13 (and 1.7-beta through 1.7-rc4 in the pre-release branch). The vulnerability was reported by Georgios Tsimpidas (aka Frey) and patched on March 18, 2026, with public disclosure on April 3, 2026 (Github Advisory, Roundcube Release). The CVSS v3.1 base score is 5.4 (Moderate) per the GitHub Advisory Database, or 6.5 (Medium) per Feedly's estimate (Github Advisory).
The root cause is insufficient sanitization of CSS stylesheet links embedded in HTML email messages (CWE-669: Incorrect Resource Transfer Between Spheres; CWE-918: Server-Side Request Forgery). Specifically, the washtml_link_callback function in program/actions/mail/index.php previously allowed any HTTP/HTTPS URL in <link> tags to be fetched by the server without checking whether the target was a local/private network address. The fix introduced a new rcube_utils::is_local_url() method that blocks URLs resolving to RFC-1918 private ranges (10.x, 172.16.x, 192.168.x), loopback (127.x, ::1), link-local (169.254.x), and localhost; additionally, HTTP redirects were disabled in the CSS fetching client to prevent redirect-based bypasses (Roundcube Commit 27ec6cc, Roundcube Commit 579b68e). No user interaction is required for exploitation — the server-side fetch occurs automatically when the email is processed.
An attacker who can send email to a Roundcube user can craft an HTML message with a <link rel="stylesheet"> tag pointing to an internal network host (e.g., http://192.168.1.1/admin). When the Roundcube server processes the email, it fetches the URL server-side, potentially exposing internal services, metadata endpoints (such as cloud provider IMDS), or other resources not directly reachable from the internet. This results in low-level confidentiality and integrity compromise — an attacker may infer the existence and behavior of internal hosts, and in some configurations, trigger unintended actions on internal services (Github Advisory, Feedly).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Github Advisory). The EPSS score is approximately 0.017% (5th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
<link rel="stylesheet" href="http://192.168.1.1/internal-resource"> tag (or targeting any private/local IP, e.g., http://169.254.169.254/latest/meta-data/ for cloud IMDS) in the email body or <head> section.washtml_link_callback function detects the <link> tag and issues an HTTP GET request from the server to the attacker-specified URL without validating whether it is a local/private address.localhost or localhost.localdomain from the Roundcube PHP process.program/actions/utils/modcss.php with modcssurls session parameters referencing internal IP addresses or hostnames.$_SESSION['modcssurls']) containing entries with internal/private URLs, which may be observable in session storage (files, Redis, Memcache).Roundcube released patched versions on March 18, 2026: 1.6.14 (stable branch) and 1.7-rc5 (pre-release branch); version 1.5.14 was also released for the legacy 1.5.x branch (Roundcube Release 1.6.14, Roundcube Release 1.7-rc5). All installations running Roundcube 1.6.0–1.6.13 should upgrade to 1.6.14 or later immediately. No configuration-based workaround is available; upgrading is the only remediation. Administrators should also monitor outbound HTTP requests from the Roundcube server to internal network ranges as a detection measure while patching is underway (Github Advisory).
Red Hat tracked the vulnerability via Bugzilla and published a security advisory (Red Hat Advisory). Debian issued a security update for the roundcube package, with announcements on the debian-lts-announce mailing list. Fedora and other Linux distributions also issued updates. The vulnerability was reported by Georgios Tsimpidas (aka Frey) of i0.rs, who is credited in the official Roundcube release notes (Roundcube Release 1.6.14). Community coverage was moderate, with security aggregators and Linux news sites reporting the update.
Fix availability across major Linux distributions and their releases.
bookworm
roundcube: 1.6.5+dfsg-1+deb12u8
sid
roundcube: 1.6.14+dfsg-1
trixie
roundcube: 1.6.15+dfsg-0+deb13u1
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."