Roundcube: CVE-2025–49113 LAB.
Roundcube Webmail contains a deserialisation flaw in the from property handled by upload.php, which is not properly validated before being deserialised. An attacker could manipulate serialised data to execute arbitrary code or escalate privileges.
medium.com
Published on medium.com
This process is commonly used for storing objects in files or databases and for sending objects across the network, such as in APIs or cookies.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the from property in upload.php was passed to a deserialisation routine without validating that it contained only safe values.
Impact
An attacker could manipulate the serialised data to execute arbitrary code or escalate privileges, though the text gives no working exploit or confirmation.
What the attacker needed
Access to the upload.php endpoint
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Programs sometimes turn objects into text so they can be saved or sent, and later turn that text back into objects; this is called serialisation and deserialisation. If a program turns text from an untrusted source back into an object without checking it, an attacker can craft that text to make the program do things it should not, such as run their code. Here the email webmail tool Roundcube did this with a value called from in a file called upload.php.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.