Blog

Collabora flaw in Nextcloud exploited: working out what was read

The story: Unauthenticated OS command injection in the richdocumentscode proxy · Collabora (GitHub security advisory) ·

Topics: Linux

On 23 October 2026 CISA listed CVE-2026-110447, a flaw in Collabora's Built-in CODE Server app for Nextcloud used to plant webshells, with attacks reported since 10 September. Who is affected, what to check first, and why the hard part is knowing which files were read.

A server beside a grid of folders, with a single line leading into the server.

On 23 October 2026 the US Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-110447 to its catalogue of vulnerabilities known to be exploited, giving federal agencies until 26 October to act. The flaw is in Collabora's Built-in CODE Server, an optional Nextcloud app that runs a document editor on the Nextcloud server itself, and administrators have reported attacks through it since 10 September. Updating the app takes minutes. Working out which files an attacker's commands read is the harder job.

What happened

Collabora's advisory of 14 October describes the flaw. In versions of the app (richdocumentscode) before 26.4.303, a crafted request to its proxy.php script can run an operating system command as the web server user, without signing in. It works only while the built-in document server isn't running, for example after a restart, an upgrade or a crash. Collabora rates it 9.2 out of 10 and says disabling the app is not enough: it must be updated to 26.4.303 or removed. Servers on Nextcloud 29 or older, which is out of support, should upgrade Nextcloud or remove the app.

Only that optional app is affected. Standalone Collabora Online servers are not, and Collabora says that users of its Docker images, its RPM and DEB packages and Nextcloud All-in-One are unaffected, and that "No Collabora Online customers were affected".

The dates, from Collabora, CISA and BleepingComputer:

Timeline: fix committed 9 September 2026, first reported attack 10 September, fixed version 26.4.303 on 11 September, forum warning 3 October, advisory and CVE 14 October, CISA listing 23 October, deadline for US agencies 26 October.
Dates from Collabora's advisory, CISA's catalogue and BleepingComputer. 10 September is the earliest attack an administrator has reported.

According to BleepingComputer and The Hacker News, attackers used the flaw to drop one-line PHP webshells, with names such as shx13a86.php, into the app's folder, and on at least one server used them to search for password manager databases and cryptocurrency wallets. In the requests one administrator reviewed, there was no sign of files being archived or uploaded. How many servers were hit is not known. Some users have reported ransomware operators using the flaw; BleepingComputer could not confirm it, and CISA lists ransomware use as unknown.

More than four weeks passed between the fixed version and the advisory. Collabora puts the delay down to the CVE process, strained by a high volume of AI-driven security reports: getting a CVE filed and published through GitHub has gone "from around a day to many weeks this year", it says, and it is applying to issue CVE numbers itself. Nextcloud told BleepingComputer that it had not observed widespread exploitation and that the gap gave users time to update.

What it means

The attacker's commands run as the web server user, and Nextcloud's manual says its data directory "must be owned by your HTTP user". On an affected server, then, every file Nextcloud keeps there was within reach, along with Nextcloud's own configuration.

Within reach is not the same as read. A search for password databases lists file names across folders; opening a file is another step. To tell the two apart, and to say which files were opened and by which program, an administrator needs file-open records, which most servers don't keep.

What each record shows: the access log, each request and commands in its address but not what a command opened; Nextcloud's own logs, what happens through Nextcloud but not a webshell reading the disk; file-open records, which program opened which file, only once switched on.

The web server's access log keeps each request, so a command passed in a request's address can often be read back. It doesn't record what the command opened or what came back. Nextcloud's own logs record what happens through Nextcloud; a command run through a webshell reads the disk directly, so it isn't there. And logs rotate: the first reported attack came more than six weeks before CISA's listing.

CISA's entry asks agencies to follow its forensic triage requirements as well as patching. Looking for signs of a compromise, not only closing the hole, is the right order for anyone who ran the app.

What you can do

Check whether you run the app. Look for the Built-in CODE Server (richdocumentscode) among your Nextcloud apps, and note its version. Nextcloud Office connected to a separate Collabora server is not affected.

Look before you clean up. Run Nextcloud's integrity check on the app, with occ run as the web server user. Files that aren't part of the signed app are listed as EXTRA_FILE. Keep a copy of anything it finds, and of your logs, before you change anything.

occ integrity:check-app richdocumentscode

Then update to 26.4.303 or later, or remove the app. Disabling it is not enough. Delete any webshells left behind.

Read your access logs back to 10 September for requests to /apps/richdocumentscode/proxy.php and to PHP files that shouldn't exist, and check how far back the logs go.

Treat what the web server user could read as exposed. Change the passwords and keys stored on the server, and decide with whoever handles data protection what the files on it mean for the people in them.

Record file opens from now on. Linux's audit system can log every open for reading under the data directory. Replace the example path with the datadirectory from Nextcloud's config.php:

sudo auditctl -a always,exit -F arch=b64 -F dir=/srv/nextcloud/data/ -F perm=r -F key=nextcloud-data
sudo ausearch -k nextcloud-data -ts today -i

The auditctl manual notes that a watch like this slows the system, and Nextcloud reads these files all day as the same user, so the log grows fast; ausearch's -x option narrows a search to one program. The rule records only from the moment it is added: it says nothing about September.

Where ProofStream fits

ProofStream's collector runs on Linux and reads the kernel's fanotify feed. On a Nextcloud server it records which programs opened which folders under the data directory, and when, so a shell or another program started by the web server and opening files in users' folders would appear as its own program, apart from the PHP processes that serve Nextcloud every day, in a history searchable for months. File names are recorded only in folders a customer chooses, on Business Plus. It wouldn't have stopped the request or the webshell, it doesn't see what was sent over the network, and reading done by PHP code inside the web server's own processes is recorded under those processes. How it works.

Sources

Spotted a mistake? Tell us and we'll correct it.