CVE-2025-49113: Roundcube/roundcubemail Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-8j8w-wwqc-x596
CVSS 9.9
CWE-502
Published
Advisory Summary

CVE-2025-49113 is a CRITICAL (CVSS 9.9) remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Roundcube/roundcubemail libraries in the Packagist ecosystem. The issue involves roundcube webmail vulnerable to authenticated rce via php object deserialization. Remediation is available by upgrading affected packages to version 1.5.10, 1.6.11.

CVE-2025-49113 at a Glance

CVE Identifier CVE-2025-49113
GHSA Identifier GHSA-8j8w-wwqc-x596
Severity CRITICAL
CVSS v3.1 Base Score 9.9
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Roundcube/roundcubemail
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-49113

To remediate this vulnerability, upgrade all affected Roundcube/roundcubemail dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

roundcube/roundcubemail fixed: 1.5.10
Upgrade roundcube/roundcubemail to 1.5.10
roundcube/roundcubemail fixed: 1.6.11
Upgrade roundcube/roundcubemail to 1.6.11
Verify Direct and Transitive Dependencies

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-2025-49113, inspect your project dependencies for Roundcube/roundcubemail:

inspect dependencies for roundcube/roundcubemail

Analyze the terminal output to locate any version of Roundcube/roundcubemail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.10), 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Roundcube/roundcubemail, 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

Roundcube Webmail before 1.5.10 and 1.6.x before 1.6.11 allows remote code execution by authenticated users because the _from parameter in a URL is not validated in program/actions/settings/upload.php, leading to PHP Object Deserialization.

CVE-2025-49113 Affected Roundcube/roundcubemail Versions

2 component(s)
Fixed Versions:
1.5.101.6.11
Product / Package Ecosystem Affected Versions Fixed Version
roundcube/roundcubemail
Packagist
< 1.5.10
1.5.10
roundcube/roundcubemail
Packagist
≥ 1.6.0
< 1.6.11
1.6.11

References

NVD — CVE-2025-49113 NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49113
Roundcube/roundcubemail Source Repository REPOSITORY
https://github.com/roundcube/roundcubemail/pull/9865
Security Fix Commit FIX COMMIT
https://github.com/roundcube/roundcubemail/commit/0376f69e958a8fef7f6f09e352c541b4e7729c4d
Security Fix Commit FIX COMMIT
https://github.com/roundcube/roundcubemail/commit/7408f31379666124a39f9cb1018f62bc5e2dc695
Security Fix Commit FIX COMMIT
https://github.com/roundcube/roundcubemail/commit/c50a07d88ca38f018a0f4a0b008e9a1deb32637e
fearsoff.org/research/roundcube WEB
https://fearsoff.org/research/roundcube
Roundcube/roundcubemail Source Repository REPOSITORY
https://github.com/roundcube/roundcubemail
Roundcube/roundcubemail Release RELEASE
https://github.com/roundcube/roundcubemail/releases/tag/1.5.10
Roundcube/roundcubemail Release RELEASE
https://github.com/roundcube/roundcubemail/releases/tag/1.6.11
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2025/06/msg00008.html
Roundcube/roundcubemail Security Information SECURITY
https://roundcube.net/news/2025/06/01/security-updates-1.6.11-and-1.5.10
www.cisa.gov/known-exploited-vul... WEB
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49113
www.vicarius.io/vsociety/posts/cve-... WEB
https://www.vicarius.io/vsociety/posts/cve-2025-49113-roundcube-mitigation-script
www.vicarius.io/vsociety/posts/cve-... WEB
https://www.vicarius.io/vsociety/posts/cve-2025-49113-roundcube-vulnerability-detection
Roundcube/roundcubemail Security Information SECURITY
http://www.openwall.com/lists/oss-security/2025/06/02/3

Frequently Asked Questions

What is CVE-2025-49113?
CVE-2025-49113 is a security vulnerability in Roundcube/roundcubemail involving Roundcube Webmail Vulnerable to Authenticated RCE via PHP Object Deserialization under CWE-502: Deserialization of Untrusted Data.
Which Roundcube/roundcubemail versions are affected?
Affected versions include releases prior to 1.5.10, 1.6.11 across affected packages: roundcube/roundcubemail.
What version fixes CVE-2025-49113?
Upgrading to 1.5.10, 1.6.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is roundcube/roundcubemail affected?
Yes, roundcube/roundcubemail is affected in releases prior to 1.5.10, 1.6.11. Upgrade your dependency to 1.5.10, 1.6.11 or later.
What is the CVSS score of CVE-2025-49113?
CVE-2025-49113 has a CVSS v3.1 base score of 9.9 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-49113?
CVE-2025-49113 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Packagist dependencies for CVE-2025-49113?
Run the dependency tree command: 'inspect dependencies for roundcube/roundcubemail'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8j8w-wwqc-x596",
  "modified" : "2026-02-20T21:48:11Z",
  "published" : "2025-06-02T06:30:32Z",
  "aliases" : [ "CVE-2025-49113" ],
  "summary" : "Roundcube Webmail Vulnerable to Authenticated RCE via PHP Object Deserialization",
  "details" : "Roundcube Webmail before 1.5.10 and 1.6.x before 1.6.11 allows remote code execution by authenticated users because the _from parameter in a URL is not validated in program/actions/settings/upload.php, leading to PHP Object Deserialization.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "roundcube/roundcubemail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "roundcube/roundcubemail"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.6.0"
      }, {
        "fixed" : "1.6.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49113"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roundcube/roundcubemail/pull/9865"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roundcube/roundcubemail/commit/0376f69e958a8fef7f6f09e352c541b4e7729c4d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roundcube/roundcubemail/commit/7408f31379666124a39f9cb1018f62bc5e2dc695"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roundcube/roundcubemail/commit/c50a07d88ca38f018a0f4a0b008e9a1deb32637e"
  }, {
    "type" : "WEB",
    "url" : "https://fearsoff.org/research/roundcube"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/roundcube/roundcubemail"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roundcube/roundcubemail/releases/tag/1.5.10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roundcube/roundcubemail/releases/tag/1.6.11"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2025/06/msg00008.html"
  }, {
    "type" : "WEB",
    "url" : "https://roundcube.net/news/2025/06/01/security-updates-1.6.11-and-1.5.10"
  }, {
    "type" : "WEB",
    "url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-49113"
  }, {
    "type" : "WEB",
    "url" : "https://www.vicarius.io/vsociety/posts/cve-2025-49113-roundcube-mitigation-script"
  }, {
    "type" : "WEB",
    "url" : "https://www.vicarius.io/vsociety/posts/cve-2025-49113-roundcube-vulnerability-detection"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/06/02/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-06T22:17:35Z",
    "nvd_published_at" : "2025-06-02T05:15:53Z"
  }
}