Dev.to Security ๐Ÿ” Cybersecurity ๐Ÿ‘ 2 ๐Ÿ“– 6 min read

A Nextcloud Add-On Was Hacked for a Month Before Anyone Got a CVE. Check Yours Today

The patch existed for a month before the warning did. That's the uncomfortable part of this story. A fix for a critical flaw in a popular Nextcloud add-on shipped on September 11, 2026, attackers were already using the b

A Nextcloud Add-On Was Hacked for a Month Before Anyone Got a CVE. Check Yours Today

The patch existed for a month before the warning did. That's the uncomfortable part of this story. A fix for a critical flaw in a popular Nextcloud add-on shipped on September 11, 2026, attackers were already using the bug by mid-September, and the CVE number that would let scanners and security teams find it didn't appear until October 14.

If you self-host Nextcloud and use the built-in Collabora server for documents, stop reading and check your version. Then come back for the details.

What's affected, and what isn't

The flaw is CVE-2026-110447, an OS command injection in the Collabora Online - Built-in CODE Server app (package name richdocumentscode) for Nextcloud. Censys rates it CVSS v4.0 9.2, critical.

Scope matters, because Collabora is clear about it. Collabora's own post says it affects only the optional Nextcloud Built-in CODE Server app, which it says isn't its recommended way to install Collabora and is used by a minority of Nextcloud users. Standalone Collabora Online servers aren't affected. Neither are Docker images, RPM or DEB packages, or the Nextcloud All-in-One images, according to Collabora.

If you run Nextcloud and use the document editor, find out which setup you have. That one fact decides if you're exposed.

How the attack works

The bug sits in proxy.php. According to the CVE record, it's an OS command injection that appears when the CODE server isn't running, for example right after a restart. BleepingComputer adds that a key prerequisite is that the built-in CODE server must be stopped, such as after a restart, an upgrade or a crash. No authentication or user interaction is needed.

Per Censys, administrators who were compromised reported crafted GET requests to /apps/richdocumentscode/proxy.php?status, using encoded path traversal and shell command substitution, and PHP webshells named shx*.php written into the app directory. The commands run with the web server account's privileges.

Collabora's blog gives the same window: the attack only works while the built-in server is down, which includes the moments when a container restarts or an upgrade runs. That sounds narrow. But servers restart, and an attacker can simply keep trying.

What attackers did next

BleepingComputer reports that administrators saw attacks dating back to September 10, that the attacker planted PHP web shells, and that they used them to search for password databases, password manager artifacts and cryptocurrency wallets. Some users also said ransomware operators were exploiting the flaw, but BleepingComputer could not confirm that independently, so treat it as unverified.

Censys's account matches: on one server, the attacker ran commands searching for credential and cryptocurrency wallet files. Censys says the reporter's logs show the first malicious request on September 16, 2026.

One more detail matters for incident response. The access comes from the web server account, so it's enough to read or modify application data, steal credentials and disrupt services, even without root.

The timeline that should bother you

Here's how it unfolded, per BleepingComputer and Censys:

  • September 9: the fix was committed.
  • September 11: version 26.4.303 was released.
  • Mid-September: administrators began reporting attacks.
  • October 14: the advisory and CVE were published, more than four weeks after the fix.
  • October 15: Collabora published a blog post urging users to upgrade.
  • October 23: CISA added the flaw to its Known Exploited Vulnerabilities catalog, according to NVD's CISA notes.

Why the gap? Collabora attributes it mainly to GitHub's CVE-processing backlog, saying the time to get a GitHub CVE filed has gone from around a day to many weeks this year, which it blames partly on a high volume of AI-driven security reports. Nextcloud told BleepingComputer it delayed disclosure to give users time to update and had not observed widespread exploitation.

BleepingComputer also cites research from Second Security finding that the median gap between public fixes and CVE publication was 39 days in August, up from 5.1 days in January. That figure comes from a vendor study, so read it as indicative.

The lesson I take from it: don't wait for a CVE to patch. If a vendor tells you to upgrade, upgrade.

Cluttered cables behind networking equipment

Expand

Cluttered cables behind networking equipment

Image: Dirk VorderstraรŸe via Wikimedia Commons, CC BY 2.0

How many servers might be exposed

Censys ran a query on October 16 and found 19,454 hosts and 103,350 web properties running the app. That count includes pages that reference richdocumentscode_arm64, a separate ARM64 app with 1,001 hosts and 4,571 web properties. Censys notes that Collabora's advisory names only richdocumentscode and doesn't say whether the ARM64 app is also affected.

Those numbers show the app's footprint, not the number of vulnerable machines. Many will already be patched. But it's a reminder of how widely the add-on is installed.

What to do now

Prerequisites: admin access to your Nextcloud server, and shell access if you want to search the file system.

  1. Find the app version. Look for the Collabora Online - Built-in CODE Server app in your Nextcloud apps list and note its version. Anything before 26.4.303 is vulnerable.
  2. Update to 26.4.303 or later. Collabora says to upgrade immediately. Note that 26.4.303 requires Nextcloud 30 or later, according to Censys.
  3. If you don't need the built-in server, remove the app. Collabora warns that disabling it isn't enough, because the vulnerable handler stays executable by the web server.
  4. Hunt for web shells. Look in the app directory for files matching shx*.php. On a typical server, a command like find /path/to/nextcloud/apps/richdocumentscode -name "shx*.php" will list them, with the path adjusted to your install.
  5. Check your web server logs for requests to proxy.php with the status parameter, going back at least to early September.
  6. If you find anything, treat the server as compromised. Preserve evidence, rotate credentials stored on or reachable from that machine, and restore from a clean backup.

Image: RAIL P (RAIL.PHOTOGRAPHY) via Wikimedia Commons, CC0

Troubleshooting

You're on Nextcloud 29 or earlier. The fixed version needs Nextcloud 30 or later, so either upgrade Nextcloud to a supported release or remove the app. Don't leave it installed on an old version.

You updated but the server was restarted a lot. Check the logs anyway. Exploitation depends on the built-in server being down, and an attacker could have hit a restart window before you patched.

You aren't sure which deployment you have. If you use Docker images, Nextcloud All-in-One or a standalone Collabora server, Collabora says you're unaffected. If you installed the Built-in CODE Server from the Nextcloud app store, you're in scope.

Patching didn't remove the files. It won't. Updating fixes the bug, not an attacker's existing foothold, so delete any web shells you find and investigate how far the attacker got.

The other exploited flaw this week

CISA's list this week also included Arista's VeloCloud Orchestrator, covered in our post on the VeloCloud third zero-day in four months. The two have little in common technically, but the advice is the same: patch fast and look for signs of past access.

Should you care?

If you use the Built-in CODE Server app, yes, today. If you run Collabora another way, you can relax, though the timeline is worth remembering. Home servers run by hobbyists are exactly where a month-long gap between patch and CVE does the most damage, because nobody monitors their feeds.

My blunt advice: turn on automatic updates for your Nextcloud apps, and keep a calendar reminder to check them anyway.

We haven't tested exploitation or the fix ourselves. This post is based on reporting from BleepingComputer and Censys, Collabora's own blog post and the CVE and NVD records.

Frequently Asked Questions

Which versions are vulnerable?

richdocumentscode versions before 26.4.303 are vulnerable. Collabora lists 26.4.303 and later as fixed.

Does disabling the app protect me?

No. Collabora says disabling the app in Nextcloud does not prevent exploitation because the vulnerable handler remains directly executable by the web server.

Am I affected if I use Docker or Nextcloud All-in-One?

Collabora says Docker images, RPM and DEB packages and Nextcloud All-in-One images are unaffected. Only the optional Built-in CODE Server app is.

Is this being exploited?

Yes. The CVE record reports exploitation in September and October 2026, and CISA added it to its Known Exploited Vulnerabilities catalog on October 23.

Originally published on Mango Developer.

๐Ÿ“ฐ Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.