CVE-2025-34292 BeWelcome/Rox PHP Object Injection RCE
Attackers can achieve remote code execution and full site compromise via PHP object injection in Rox by exploiting unsafe deserialization of user-controlled input.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34292?
CVE-2025-34292 is a critical unsafe deserialization vulnerability in BeWelcome Rox, published on 27 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Rox, the software running BeWelcome, contains a PHP object injection vulnerability resulting from deserialization of untrusted data. User-controlled input is passed to PHP's unserialize(): the POST parameter `formkit_memory_recovery` in \\RoxPostHandler::getCallbackAction and the 'memory cookie' read by \\RoxModelBase::getMemoryCookie (bwRemember). (1) If present, `formkit_memory_recovery` is processed and passed to unserialize(), and (2) restore-from-memory functionality calls unserialize() on the bwRemember cookie value. Gadget chains present in Rox and bundled libraries enable exploitation of object injection to write arbitrary files or achieve remote code execution. Successful exploitation can lead to full site compromise. This vulnerability was remediated with commit c60bf04 (2025-06-16).
Weakness: CWE-502
Which versions are affected by CVE-2025-34292?
How do I fix CVE-2025-34292?
No fix has been published for CVE-2025-34292 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-34292 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34292 exists.
Sources
Also known as GHSA-5j49-q8fx-ph3m.