CVE-2026-35542: Roundcube Bypass Of Remote Image Blocking Vulnerability
MODERATECVE-2026-35542 is a MODERATE (CVSS 5.3) bypass of remote image blocking vulnerability (CWE-669: Incorrect Resource Transfer Between Spheres) affecting Roundcube libraries in the Packagist ecosystem. The issue involves bypass of remote image blocking via crafted body background attribute. Remediation is available by upgrading affected packages to version 1.7-rc5.
CVE-2026-35542 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-35542
To remediate this vulnerability, upgrade all affected Roundcube dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade roundcube/roundcubemail to 1.7-rc5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for roundcube/roundcubemail
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-35542, inspect your project dependencies for Roundcube:
inspect dependencies for roundcube/roundcubemail
Analyze the terminal output to locate any version of Roundcube in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7-rc5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-669: Incorrect Resource Transfer Between Spheres, where the product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource. In Roundcube, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-35542 Affected Roundcube Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
roundcube/roundcubemail
|
Packagist |
≥ 1.7-beta
< 1.7-rc5
|
1.7-rc5
|
References
Frequently Asked Questions
What is CVE-2026-35542?
Which Roundcube versions are affected?
What version fixes CVE-2026-35542?
Is roundcube/roundcubemail affected?
What is the CVSS score of CVE-2026-35542?
What CWE is associated with CVE-2026-35542?
How can I check Packagist dependencies for CVE-2026-35542?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5hf6-crg4-fg59",
"modified" : "2026-04-04T06:55:40Z",
"published" : "2026-04-03T06:31:32Z",
"aliases" : [ "CVE-2026-35542" ],
"summary" : "Roundcube: Bypass of remote image blocking via crafted BODY background attribute",
"details" : "An issue was discovered in Roundcube Webmail before 1.5.14 and 1.6.14. The remote image blocking feature can be bypassed via a crafted background attribute of a BODY element in an e-mail message. This may lead to information disclosure or access-control bypass.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "roundcube/roundcubemail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.7-beta"
}, {
"fixed" : "1.7-rc5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35542"
}, {
"type" : "WEB",
"url" : "https://github.com/roundcube/roundcubemail/commit/e052328e3dc75f13adc2e314eaa4096ac21084ad"
}, {
"type" : "WEB",
"url" : "https://github.com/roundcube/roundcubemail/commit/fd0e98178db5c73eaa93d005b561874923f9b0f0"
}, {
"type" : "WEB",
"url" : "https://github.com/roundcube/roundcubemail/commit/fde14d01adc9f37893cd82b635883e516ed453f8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/roundcube/roundcubemail"
}, {
"type" : "WEB",
"url" : "https://github.com/roundcube/roundcubemail/releases/tag/1.5.14"
}, {
"type" : "WEB",
"url" : "https://github.com/roundcube/roundcubemail/releases/tag/1.6.14"
}, {
"type" : "WEB",
"url" : "https://github.com/roundcube/roundcubemail/releases/tag/1.7-rc5"
}, {
"type" : "WEB",
"url" : "https://roundcube.net/news/2026/03/18/security-updates-1.7-rc5-1.6.14-1.5.14"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-669" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-04T06:55:40Z",
"nvd_published_at" : "2026-04-03T05:16:22Z"
}
}