Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Critical Flaw in Collabora CODE App Allows Web Shell Installation on Nextcloud Servers

A critical vulnerability in Collabora’s CODE app for Nextcloud allows unauthenticated attackers to execute arbitrary commands on servers when the app’s local document server is not running.

Share
AI-generated conceptual illustration accompanying: Critical Flaw in Collabora CODE App Allows Web Shell Installation on Nextcloud Servers
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Vulnerability Overview and Exploitation Method

A critical vulnerability in Collabora’s Built-in CODE app for Nextcloud has been exploited by hackers to install web shells on affected servers, according to Hackers Backdoor Nextcloud Servers Through Critical Flaw in Collabora’s Built-in CODE App by Swati Khandelwal. The flaw allows an unauthenticated attacker to execute arbitrary commands on the server when the app’s local document server is not running, such as during a restart, upgrade, or crash. The vulnerability arises because the app processes unauthenticated requests to run commands under these conditions. The exploit involves a plain PHP file that the web server executes directly from the app’s folder without loading any of Nextcloud’s code, as noted in the report. This issue highlights the risks of using optional apps that may introduce security gaps, especially when they handle unauthenticated input. Users are advised to review their app configurations and ensure that only trusted components are enabled.

Affected Systems and Deployment Context

The vulnerability affects Nextcloud servers that have the Collabora CODE app installed in the built-in deployment mode, which downloads and runs a local appimage of Collabora Online Development Edition (CODE). According to Collabora’s advisory, all versions of the app before 26.4.303 are impacted. The app, published under the package name richdocumentscode, is intended for local testing and non-production use, as noted in its store listing. It is primarily suited for personal use or small teams. However, this does not eliminate the risk, as the advisory explicitly states that the flaw only affects the Development Edition in the specific built-in deployment mode. Standalone Collabora Online servers are not impacted by this vulnerability. As mmeeks clarified, the issue is limited to this particular deployment scenario, which is less common than other configurations.

Mitigation and Response Measures

Following the discovery of a critical vulnerability in Collabora’s CODE app, administrators are advised to take immediate action to secure their Nextcloud servers. According to Collabora’s advisory, simply disabling the app is not enough to mitigate the risk; users must either upgrade the app to version 26.4.303 or later, or remove it entirely. For those running Nextcloud 29 or older, which cannot support the required update, upgrading Nextcloud to a newer version or removing the app is necessary. These steps are crucial to prevent unauthorized access and potential data breaches. The advisory emphasizes that failing to act could leave systems exposed to exploitation. Administrators are urged to review their current configurations and apply the recommended fixes promptly. No alternative mitigation strategies are mentioned in the available evidence.

Timeline of Discovery and Patching

The timeline of discovery and patching for the critical flaw in Collabora’s CODE app within Nextcloud servers began with a commit on August 20 by Caolán McNamara, who later published an advisory titled 'tidy up how the coolwsd launch command is built.' This change was not included in version 26.4.302, released on August 31, and was committed on September 9. The first logged attack occurred on September 10, prompting the release of version 26.4.303 on September 11, which only mentioned the bundled CODE build in its release notes. On October 3, a Nextcloud community forum member warned users to update immediately, stating the flaw was 'already being exploited' and noting that 'no warning or CVE has been published.' The CVE and advisory were finally released on October 14.

Impact and Scope of the Attack

The impact and scope of the attack exploiting the critical flaw in Collabora’s CODE app within Nextcloud servers remain unclear. According to the first report from an administrator hosting multiple Nextcloud servers, the breach occurred as early as the day before the report was posted on GitHub. The CVE record notes that the flaw was exploited in the wild during September and October 2026, though the exact number of affected servers has not been disclosed. Notably, a prior fix for a separate command-injection vulnerability in the same script, CVE-2025-66208, which was disclosed in December 2025, does not address this new issue. This suggests that the vulnerability is distinct and highlights the ongoing challenges in securing collaborative software ecosystems. Administrators are urged to review their configurations and apply the latest patches from Collabora to mitigate potential risks.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more