CVE-2025-49113: RoundCube Webmail Deserialization of Untrusted Data Vulnerability
RoundCube Webmail contains a deserialization of untrusted data vulnerability that allows remote code execution by authenticated users because the _from parameter in a URL is not validated in program/actions/settings/upload.php.
Overview
Roundcube Webmail has a PHP object deserialization flaw that lets any logged-in user run code on the mail server. The _from URL parameter in the settings upload handler is not validated before it leads to deserialization. Releases before 1.5.10, and 1.6.x releases before 1.6.11, are affected.
Webmail servers are often internet-facing and host many accounts, so one low-privilege mailbox login is enough to reach code execution.
Vulnerability details
Affected vendor
Roundcube
Affected product
Webmail
Weakness type (CWE)
CWE-502
CWE-502 covers applications that rebuild objects from data an attacker can influence. In Roundcube, the _from URL parameter handled by program/actions/settings/upload.php is not validated, and its value leads to PHP object deserialization. PHP's unserialize call instantiates whatever classes the input names and triggers magic methods such as destruct and wakeup, so crafted input can steer execution into code paths the developers never intended. The upstream fix is titled as validating the URL parameter in the upload code. The retrieved sources do not describe the payload format or how the value reaches the unserialize call.
The attacker needs a valid Roundcube login, but only a low-privilege one. After authenticating, they send a crafted request to the settings upload handler with a malicious value in _from. A successful request gives remote code execution on the Roundcube server as the web application user, with full access to mail data, configuration secrets, and anything the web process can reach. A secondary CNA assessment treats the scope as changed. Only unpatched versions are exposed.
Severity and impact
8.8
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High
Exploitation status
This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
Known ransomware campaign use
Unknown
Detection and monitoring
- Search web server access logs for requests to the settings upload action where _from is long, URL-encoded, or contains serialized-PHP markers such as O: followed by digits and quoted class names. A legitimate client sends a short, simple value.
- Alert when the PHP-FPM or Apache worker running Roundcube spawns a shell or network tool (sh, bash, curl, wget, nc). Normal webmail operation does not create child processes of this kind.
- Check for new or modified PHP files under the Roundcube directory tree or web root written by the web user, and for unserialize-related PHP errors in the Roundcube error log around authenticated upload requests.
Remediation
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Federal (FCEB) remediation due date
March 13, 2026
Additional hardening
- Upgrade Roundcube Webmail to 1.6.11 on the 1.6 line or 1.5.10 on the 1.5 LTS line. Debian 11 packages are listed as affected, so check the distribution advisory for the backported fix.
- Restrict who can reach the login page, using a VPN, IP allowlist, or SSO with multifactor authentication. The flaw needs a valid account, so limiting credential stuffing and password reuse limits who can exploit it.
- Run PHP as an unprivileged user with a read-only application directory, set disable_functions for process execution where Roundcube does not need them, and block outbound connections from the web server except to required mail and database hosts.
- For instances that were exposed while unpatched, review logs for anomalous _from values, scan for web shells, and rotate the Roundcube des_key, database credentials, and mailbox passwords.
Key dates
Published (NVD)
June 2, 2025
Added to CISA KEV
February 20, 2026
Remediation deadline
March 13, 2026
Last updated
June 17, 2026
References
- https://github.com/roundcube/roundcubemail/commit/0376f69e958a8fef7f6f09e352c541b4e7729c4d
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.10
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.11
- https://roundcube.net/news/2025/06/01/security-updates-1.6.11-and-1.5.10
- https://nvd.nist.gov/vuln/detail/CVE-2025-49113
- https://fearsoff.org/research/roundcube
- http://www.openwall.com/lists/oss-security/2025/06/02/3
- https://github.com/roundcube/roundcubemail/commit/7408f31379666124a39f9cb1018f62bc5e2dc695
Frequently Asked Questions
If Roundcube Webmail runs inside your authorization boundary, yes. CVE-2025-49113 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and its March 13, 2026 remediation deadline has passed. An unpatched KEV in a FedRAMP-authorized boundary is an assessor finding, and an overdue one is visible to your assessor and sponsoring agency. Remediate it now, or formally document the mitigation and the delay.
Knox does not patch your software. Under the FedRAMP shared responsibility model, remediating Roundcube Webmail is your job. Knox provides the pre-authorized, single-tenant boundary where you apply the fix, along with continuous compliance monitoring and audit-artifact coverage that support your documentation at the next assessment. The patch is yours to apply, and you do not carry the compliance work around it alone.
Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues, CVE-2025-49113 included. Exposure surfaces during ongoing monitoring, so you are not relying on an assessor to flag it at review time.
Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.
With the March 13, 2026 deadline behind you, an unremediated CVE-2025-49113 is already a POA&M item. A growing POA&M list turns a routine continuous-monitoring review into a difficult conversation with your agency. Resolving it and documenting why the date slipped keeps your authorization and the agency relationship clean.
Access Continuous Compliance
We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.