CVE-2025-49113: Authenticated RCE via PHP Deserialization in Roundcube Webmail (upload.php)
HERMES
HERMES THREAT SCORE & ENTERPRISE WEBMAIL EXPOSURE
Target:Roundcube Webmail (prior to 1.5.10 / 1.6.11) Confidence: 99%
97 / 100
Dimension Breakdown
Exploitability 19 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 19 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
Divergence & Operational Rationale
Hermes assesses CVE-2025-49113 at an HTS of 97 (CRITICAL SEVERITY). This PHP deserialization flaw in the attachment upload handling allows an attacker with basic email credentials to execute shell commands with www-data privileges, enabling full exfiltration of enterprise mailboxes and lateral network pivoting.
1 Software
Software Ecosystem
ECOSYSTEM →
2 Attack Pattern
Agentic Attack Patterns
MITRE/ATLAS →
3 Agent
Agent Threat Studio
STUDIO →
4 Trajectory
Dynamic Trajectory
REAL-TIME →
5 Forecast
Predictive EPSS/CTI Horizon
CALIBRATED →
6 Decision
Decision Engine
GOVERNANCE →
7 Research
Epistemic Limits (Section 83)
RIGOR →
๐ธ๏ธ Connected Knowledge Graph & Provenance
CVE-2025-49113: Authenticated RCE via PHP Deserialization in Roundcube Webmail (upload.php)VULNERABILITY
Connected Nodes: 2
Active Relationships (Outgoing)
→ affectsPRODUCTApache Roller Weblog Server
98% VERY_HIGH
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Apache Roller Weblog Server documented in Hermes dossier.”
Supporting Verified Evidence:
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
→ usesATTACK TECHNIQUET1059: Command and Scripting Interpreter
90% VERY_HIGH
Adversaries abuse command and script interpreters (Bash, Python, PowerShell) to execute arbitrary commands.
๐ Why is this related? (Evidence & Provenance)
“Attack execution telemetry aligns with MITRE ATT&CK technique T1059.”
Supporting Verified Evidence:
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Identification
Section titled โ1. Identificationโ| Parameter | Technical Specification | Operational Impact |
|---|---|---|
| CVE Identifier | CVE-2025-49113 | Official NVD / MITRE record |
| Associated CWE | CWE-502: Deserialization of Untrusted Data | Unsanitized PHP object deserialization via unserialize() |
| CVSS v3.1 Score | 9.9 CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CVSS v4.0 Score | 9.4 CRITICAL | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| Applicable CPEs | cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*cpe:2.3:a:roundcube:roundcube_webmail:*:*:*:*:*:*:*:* | Enterprise webmail portal servers |
| Affected Versions | Versions < 1.5.10 and 1.6.x branches < 1.6.11 | Production Roundcube Webmail deployments |
| Fixed Versions | 1.5.10 and 1.6.11 (June 2025) | Official Roundcube security releases |
2. Exploitation
Section titled โ2. Exploitationโ- CISA KEV: Added on February 20, 2026; immediate remediation required.
- EPSS Score: 0.98897 (Percentile: 99.925% โ widespread threat exploitation).
- Operational Status: Confirmed active in-the-wild exploitation by state-sponsored cyber espionage units.
- PoC & Weaponization: Weaponized public PoCs using Property-Oriented Programming (POP) gadget chains triggered via the
_fromparameter inupload.php. - Access Conditions: Requires basic authenticated user account; HTTP/HTTPS network access (port 80 or 443); low complexity.
3. Threat Intelligence
Section titled โ3. Threat Intelligenceโ- Threat Actors: Russian state-sponsored actors (Winter Vivern / UAC-0114, APT28 / Fancy Bear) and intelligence operators.
- Observed Campaigns: Large-scale intelligence gathering operations against European ministries, embassies, and critical infrastructure.
- Associated Malware: Custom PHP webshells, IMAP harvesting automation, and persistent reverse proxies.
- Exploitation Timeline: Patched by Roundcube in June 2025; escalated to CISA KEV in February 2026 due to aggressive campaigns.
4. Detection & Forensic Triage
Section titled โ4. Detection & Forensic TriageโIndicators of Compromise (IOCs)
Section titled โIndicators of Compromise (IOCs)โ- Suspicious Web Requests: Requests targeting
_action=uploadorupload.phpcontaining serialized PHP strings in_fromparameter. - Malicious File Drops: Creation of unrecognized
.phpfiles in web server document roots ortemp/folders.
Sigma Rule
Section titled โSigma Ruleโtitle: Suspicious Deserialization in Roundcube upload.php (CVE-2025-49113)id: d1c2b3a4-4911-4f89-8012-3456789abcdestatus: testdescription: Detects serialized PHP object injection in the _from parameter of Roundcube Webmailreferences: - https://roundcube.net/news/2025/06/01/security-updates-1.6.11-and-1.5.10author: Hermes Codex Researchdate: 2026-09-10logsource: category: webserverdetection: selection: cs_uri_stem|contains: - 'upload.php' - '/index.php' cs_uri_query|contains: - '_action=upload' - '_from=' cs_uri_query|re: '.*_from=(O%3A|O:[0-9]+|a%3A|a:[0-9]+|s%3A|Tzo).*' condition: selectionfalsepositives: - None expected; serialized PHP objects are not legitimate in this parameterlevel: criticalYARA Signature
Section titled โYARA Signatureโrule Exploit_Roundcube_Deserialization_CVE_2025_49113 { meta: description = "Detects PHP deserialization exploit payloads targeting Roundcube upload.php" author = "Hermes Codex Research" date = "2026-09-10" reference = "CVE-2025-49113" strings: $action = "_action=upload" ascii $param = "_from=" ascii $php_obj = /O:[0-9]+:"[a-zA-Z0-9_]+":[0-9]+:\{/ ascii $gadget = "GuzzleHttp" ascii condition: ($action and $param and $php_obj) or ($php_obj and $gadget)}Suricata / Snort Signature
Section titled โSuricata / Snort Signatureโalert http $EXTERNAL_NET any -> $WEBMAIL_SERVERS any (msg:"HERMES - Roundcube Webmail upload.php PHP Deserialization Exploit (CVE-2025-49113)"; flow:to_server,established; content:"_action=upload"; http_uri; content:"_from="; http_uri; pcre:"/_from=(?:O%3A|O:[0-9]+|Tzo)/Ui"; classtype:web-application-attack; sid:202549113; rev:1;)Logs & Forensic Artifacts
Section titled โLogs & Forensic Artifactsโ- Web Access Logs: Monitor HTTP POST requests to
/?_task=settings&_action=upload. - System Process Trees: Inspect
php-fpmorapache2spawning interactive shells (/bin/sh,/bin/bash,curl). - MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1059.004 (Unix Shell), T1114.002 (Remote Email Collection), T1505.003 (Web Shell).
5. Remediation & Hardening
Section titled โ5. Remediation & Hardeningโ- Upgrade Immediately: Update Roundcube Webmail to 1.6.11 or 1.5.10.
- Restart Web and PHP Daemons: Execute
systemctl restart php*-fpmand web server services to clear bytecode caches. - Deploy Temporary WAF Filter: Block requests containing serialized PHP patterns in URI parameters.
- Audit Mailbox Accounts: Review user authentication logs to identify compromised accounts used to deliver payloads.
- Inspect Temp Directories: Audit the
temp/folder and remove unverified uploaded files or script artifacts.
6. Enterprise Impact Scenario
Section titled โ6. Enterprise Impact ScenarioโโWhat happens if this vulnerability is exploited in an enterprise?โ
Section titled โโWhat happens if this vulnerability is exploited in an enterprise?โโ
- Initial Credential Compromise: The attacker obtains valid employee webmail credentials through targeted credential stuffing or phishing.
- Exploit Payload Delivery: Logging in to Roundcube, the attacker submits a malformed request to
upload.php, injecting a PHP gadget chain into the_fromparameter.- System Command Execution: The application deserializes the untrusted object, spawning a reverse shell executing under the web server account (
www-data).- Enterprise Email Exfiltration: The adversary directly reads raw email storage files across Dovecot/Postfix spools, stealing executive communications, financial forecasts, and proprietary files.
- Lateral Network Compromise: Leveraging the compromised webmail server in the DMZ, the attacker establishes persistence tunnels to pivot into internal corporate Active Directory controllers.