CVE-2025-24796 Remote Code Execution within Collabora Online jail with Macros Enabled

Medium 6.3 Published Updated

Attackers can execute arbitrary binaries within the jail if macros are enabled, bypassing network restrictions. Requires admin to enable macros.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-24796?

CVE-2025-24796 is a medium-severity code injection vulnerability in CollaboraOnline online, published on 6 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.lok_allow 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.

Weakness: CWE-829

Which versions are affected by CVE-2025-24796?

How do I fix CVE-2025-24796?

No fix has been published for CVE-2025-24796 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-24796 being exploited?

There is no known exploitation of CVE-2025-24796 in the wild and no public exploit code.

Sources

Also known as GHSA-4jjq-vgqp-qw45.

Is CVE-2025-24796 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free