Description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 contains an object injection primitive in rcube_session::unserialize(). A session key prefixed with “!” was treated as having no value, and the reconstructed serialized string was emitted with a key but no corresponding value, desynchronizing the remainder of the input so that following session data was interpreted as a serialized value. This yields a PHP object injection primitive for an attacker able to influence stored session data. Upstream fixed this in the commit “Fix object injection primitive in rcube_session::unserialize() via “!”-prefixed session keys”, which rejects such keys.
Published: 2026-10-22
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: PHP Object Injection
Action: Apply Patch
AI Analysis

Impact

Roundcube Webmail contains a flaw in the rcube_session::unserialize routine that misinterprets session keys prefixed with an exclamation point. When such keys are present, the parser thinks the key has no value, causing the rest of the serialized input to be treated as part of a single, deserialized PHP object. This behavior provides an object injection primitive for an attacker who can influence the contents of a user session. The result is that malicious objects can be instantiated during session restoration, potentially leading to remote code execution depending on the autoload context. The vulnerability is categorized as CWE‑502 and carries a CVSS score of 7.4.

Affected Systems

The flaw affects Roundcube Webmail versions before 1.6.20 and all 1.7.x releases earlier than 1.7.5. Users running these releases should verify their installed version and consider the vendor’s update path if they remain on an affected release.

Risk and Exploitability

The CVSS of 7.4 indicates a moderate‑to‑high severity. EPSS is not available and the issue has not yet been reported in CISA KEV, suggesting that, while theoretically exploitable, no documented exploitation is currently known. The likely attack vector is remote, through manipulation of session data such as setting a crafted cookie or modifying stored session files. If an attacker can influence the session string before it is unserialized, they can trigger arbitrary object creation and, with sufficient privileges, execute code on the server.

Generated by OpenCVE AI on October 22, 2026 at 06:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Roundcube 1.6.20 or later, or to 1.7.5 or newer if using the 1.7 branch.
  • Ensure that any session data keyed with an exclamation mark (e.g., “!foo”) is rejected or removed before deserialization by adjusting the session handling logic or applying input validation.
  • If an immediate patch cannot be applied, replace the rcube_session::unserialize method with a custom implementation that verifies the serialized string and drops any malformed keys, effectively preventing the injection primitive.

Generated by OpenCVE AI on October 22, 2026 at 06:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 06:45:00 +0000

Type Values Removed Values Added
Title Object Injection via Session Deserialization in Roundcube

Thu, 22 Oct 2026 02:00:00 +0000

Type Values Removed Values Added
Description Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 contains an object injection primitive in rcube_session::unserialize(). A session key prefixed with “!” was treated as having no value, and the reconstructed serialized string was emitted with a key but no corresponding value, desynchronizing the remainder of the input so that following session data was interpreted as a serialized value. This yields a PHP object injection primitive for an attacker able to influence stored session data. Upstream fixed this in the commit “Fix object injection primitive in rcube_session::unserialize() via “!”-prefixed session keys”, which rejects such keys.
First Time appeared Roundcube
Roundcube webmail
Weaknesses CWE-502
CPEs cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*
Vendors & Products Roundcube
Roundcube webmail
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Roundcube Webmail
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-22T01:48:23.338Z

Reserved: 2026-10-22T01:48:22.989Z

Link: CVE-2026-114724

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T02:17:00.343

Modified: 2026-10-22T02:17:00.343

Link: CVE-2026-114724

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T06:30:17Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data