Nextcloud Collabora RCE: How to Patch CVE-2026-110447 Fast

📅 2026-10-17T00:00:00.000Z⏱️ 4 min read#Tech#Guide#Troubleshooting

Nextcloud Admins: Patch CVE-2026-110447 Before Your Server Gets Backdoored

If you run Nextcloud with the Collabora Online – Built-in CODE Server app (richdocumentscode), you are the target of an active exploitation campaign. Threat actors are chaining a critical remote code execution flaw tracked as CVE-2026-110447 to drop persistent backdoors on Nextcloud instances. The direct takeaway: update the richdocumentscode app immediately, or disable it entirely if you can’t patch within hours. This guide walks you through detection, patching, and hardening in concrete steps — not vague warnings.

Step-by-Step: Detect, Patch, and Harden

Step 1 — Check whether you’re exposed

The flaw lives in the bundled CODE Server shipped inside the richdocumentscode app, not in Nextcloud core. Confirm your version from the command line:

# From your Nextcloud root (e.g. /var/www/nextcloud)
sudo -u www-data php occ app:list | grep richdocumentscode
sudo -u www-data php occ app:info richdocumentscode

If the app is enabled and below the patched build, treat the instance as compromised until proven otherwise.

Step 2 — Patch the app (primary fix)

  1. Put Nextcloud into maintenance mode: sudo -u www-data php occ maintenance:mode --on
  2. Update the app via the app store or CLI: sudo -u www-data php occ app:update richdocumentscode
  3. Verify the new version with occ app:info richdocumentscode.
  4. Disable maintenance mode: sudo -u www-data php occ maintenance:mode --off

If no patched build is available for your Nextcloud release, disable the app (occ app:disable richdocumentscode) and switch to the standalone Collabora Online container or a hosted Collabora deployment.

Step 3 — Hunt for backdoors

The campaign plants persistence. Check these high-signal locations:

Indicator Where to look Why it matters
Rogue admin accounts occ user:list, occ group:list Attackers add admins for persistence
Modified config.php nextcloud/config/config.php trusted_domains / apps_paths tampering
New cron jobs crontab -l, /etc/cron.* Re-downloads payloads
Suspicious PHP in app dirs apps/richdocumentscode/ Webshells dropped post-exploit
Outbound connections ss -tupn, firewall logs C2 beaconing

Also review nextcloud.log and your web server access logs for POST requests to richdocumentscode endpoints from unexpected IPs.

Step 4 — Rotate and harden

What You Should Know: Alternatives & Trade-offs

The built-in CODE Server is convenient but ships a full office suite inside your web app — a large attack surface. Consider these alternatives:

Cost note: the built-in app is free and zero-maintenance; the containerized options are also free but require ~30–60 minutes of setup and ongoing updates. For any internet-facing instance, the isolation is worth it.

Frequently Asked Questions (FAQ)

What is CVE-2026-110447 in Nextcloud?

It is a critical command execution vulnerability in the Collabora Online – Built-in CODE Server app (richdocumentscode) for Nextcloud. Attackers exploit it to run arbitrary commands and install backdoors on the host server.

Does patching Nextcloud core fix the Collabora RCE flaw?

No. The vulnerability is in the richdocumentscode app, not Nextcloud core. You must update or disable the app itself, even if your Nextcloud server is fully up to date.

How do I know if my Nextcloud was already compromised?

Look for new admin accounts, modified config.php, unexpected cron jobs, unfamiliar PHP files under apps/richdocumentscode/, and outbound connections to unknown IPs. If any are present, isolate the host, rotate all credentials, and restore from a known-good backup.

Can I just disable the Collabora app to stay safe?

Yes. Disabling richdocumentscode removes the vulnerable code path. If you still need document editing, deploy standalone Collabora Online or OnlyOffice in an isolated container.

Final Verdict

Treat CVE-2026-110447 as an emergency, not a routine update. Patch richdocumentscode today; if no fix exists for your version, disable it and move to a containerized Collabora or OnlyOffice deployment. Then run the backdoor hunt above — patching alone won’t remove persistence an attacker already planted. The built-in CODE Server is fine for small, non-exposed labs, but for any internet-facing Nextcloud, isolating your office backend is the durable fix.