
Proof-of-concept to CVE-2025-49113
A fully functional proof-of-concept exploit for CVE-2025-49113
CVE-2025-49113 is an The vulnerability is the result of a logic flaw in the application's session parser, which allows insecure deserialization of PHP objects. Authenticated users can exploit this issue to execute arbitrary commands on the server.
An attacker with valid credentials (even low-privileged user accounts) can exploit this flaw to:
unserialize() with attacker-controlled input and loaded gadgets1.5.01.5.91.6.0 to 1.6.10Versions prior to 1.5.0 have not been tested, but are potentially vulnerable if backported plugins or features are present.
requirements.txtClone the repository and install the required dependencies:
git clone https://github.com/BiiTts/Roundcube-CVE-2025-49113.git
cd roundcube-rce-CVE-2025-49113
pip install -r requirements.txt
python3 roundcube_exploit.py http://roundcube.local/ username password "cmd"