CVE-2025-24796: Remote Code Execution within Collabora Online jail with Macros Enabled
Collabora Online is a collaborative online office suite based on LibreOffice. Macro support is disabled by default in Collabora Online, but can be enabled by an administrator. Collabora Online typically hosts each document instance within a jail and is allowed to download content from locations controlled by the net.lokallow configuration option, which by default include the private IP ranges to enable access to the local network. If enabled, macros were allowed run executable binaries. By combining an ability to host executables, typically in the local network, in an allowed accessible location, with a macro enabled Collabora Online, it was then possible to install arbitrary binaries within the jail and execute them. These executables are restricted to the same jail file system and user as the document instance but can be used to bypass the additional limits on what network hosts are accessible and provide more flexibility as a platform for further attempts. This is issue is fixed in 24.04.12.4, 23.05.19, 22.05.25 and later macros.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-24796?
CVE-2025-24796 is considered a moderate severity vulnerability affecting Collabora Online.
How do I fix CVE-2025-24796?
To mitigate CVE-2025-24796, ensure that macro support remains disabled unless absolutely necessary.
Which versions of Collabora Online are affected by CVE-2025-24796?
CVE-2025-24796 affects Collabora Online versions up to 24.04.12.4, 23.05.19, and 22.05.25.
What type of vulnerability is CVE-2025-24796?
CVE-2025-24796 is a vulnerability related to the macro functionality that can be enabled in Collabora Online.
Is Collabora Online safe to use if macro support is disabled?
Yes, if macro support is disabled, Collabora Online can be considered safer against the risks outlined in CVE-2025-24796.