Nextcloud offers two ways to get Collabora Online document editing: a standalone Collabora server you run yourself, or the “Built-in CODE Server” app, richdocumentscode, which bundles a CODE AppImage inside the Nextcloud install and starts it on demand behind a small PHP proxy. That proxy, proxy.php, had an operating-system command injection reachable without an account when the bundled server was not running, which is the normal state right after a restart. Attackers have been using it since September 2026 to drop PHP webshells, and CISA lists it as exploited. If Nextcloud shows the Collabora Online Built-in CODE Server app at any version below 26.4.303, update it today, and then search the server for the shx*.php files the attacks leave behind. This page shows how to tell the built-in app from a standalone server, how to check the version and the aftermath, how to update, and what to do if your Nextcloud is too old for the fixed app.
CVE-2026-110447 at a glance.
| Component | The Nextcloud app richdocumentscode (“Collabora Online – Built-in CODE Server”), specifically its proxy.php, installed under apps/richdocumentscode/ in a Nextcloud tree on Linux. Not affected: standalone Collabora Online or CODE servers (Docker image, distribution packages, hosted services) and installs that have only the richdocuments frontend app |
| Affected versions | Built-in CODE Server every release before 26.4.303; the reports on the project’s issue tracker came from 26.4.302 |
| Fixed in | Built-in CODE Server 26.4.303, released 11 September 2026 (later releases 26.4.402 and 26.4.502 also carry the fix). The fixed app requires Nextcloud 30 or later |
| Severity | CVSS 3.1 9.8 Critical from NVD (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); CVSS 4.0 9.2 Critical from the MITRE CNA record. CWE-78, OS command injection. No distribution packages it, so there are no distribution ratings |
| Exploited in the wild | On CISA’s Known Exploited Vulnerabilities catalogue, added 23 October 2026; federal remediation was due 26 October 2026. Ransomware use is recorded as Unknown. The CVE record itself says it was exploited in September and October 2026. EPSS 0.762 (99.5th percentile) on 22 November 2026 |
| Who is exposed | any internet-reachable Nextcloud with the built-in CODE app below 26.4.303; no account is needed, and the precondition, the bundled server not running, is met after every restart and whenever it has been idle long enough to stop. The web server user’s privileges are what the attacker gets. Not affected: 26.4.303 and later, and every standalone Collabora deployment |
| Published | CVE record 14 October 2026; this page built 29 November 2026, last updated 29 November 2026 |
What it is
The built-in CODE app exists so that a small Nextcloud can have document editing without running a second service. It ships a Collabora Online AppImage, and when a user opens a document the app launches that AppImage on the local machine and proxies the browser’s WebSocket and HTTP traffic to it through proxy.php, a script that lives inside the app and is reachable at a public URL because the editing frontend has to reach it before the user is necessarily authenticated to it. When the AppImage is not yet running, proxy.php has a code path that starts it and reports status, and that path built a shell command from request parameters without neutralising them. A request with a $(...) substitution and a path-traversal component in the right parameter runs whatever the attacker likes as the web server user, which is the textbook CWE-78. The CVE record is careful to say this is a different flaw from CVE-2025-66208, an earlier issue in the same app.
What makes it sharper than most command injections is the precondition. The vulnerable path is only reachable while the bundled server is not running, which sounds limiting until you notice that the AppImage is started on demand and stopped when idle, so an installation that nobody is editing documents on sits in the vulnerable state for most of its life, and every reboot puts it back there. The project’s issue tracker shows what the attacks looked like in practice: repeated GET requests to proxy.php?status carrying base64-wrapped payloads, which wrote shx*.php webshells into the web tree and then used them with a ?c= parameter passed to shell_exec(). The maintainer’s instruction in that thread is the whole fix: update to 26.4.303 and delete the leftover shx*.php files. One reporter still saw the font-configuration helper trying to write such files after updating, which is the webshell persistence rather than the vulnerability, and was told to point the font server at an invalid host while cleaning up.
The fixed release went out on 11 September 2026, the Nextcloud community notice went up on 3 October, the CVE was published on 14 October and CISA added it on 23 October. The 26.4.3xx line requires Nextcloud 30 or later, so an older Nextcloud cannot install the fixed app; the alternative for those installations is in the fix section.
Who is affected on Linux
The built-in CODE app is installed from the Nextcloud app store, not from a distribution, so the version that matters is the one Nextcloud reports and the trackers carry nothing for it. Each row is what the tracker showed on 29 November 2026; the link in a row is the tracker page.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted | — |
| Debian | Not packaged (“NOT-FOR-US”) | — |
| Ubuntu | Not packaged; the tracker page was unreachable on 29 November 2026 | — |
| RHEL, Rocky, Alma, CentOS Stream | Not packaged; the page was unreachable on 29 November 2026 | — |
| Fedora, openSUSE/SLE, Arch | Not consulted | — |
| Nextcloud app store (apps.nextcloud.com), the Nextcloud AIO and snap images that bundle it | Affected below 26.4.303 | Built-in CODE Server 26.4.303 or later (needs Nextcloud 30+) |
How to check
Three questions, in order: is the built-in CODE app installed at all (a standalone Collabora server is not affected), which version is it, and is the Nextcloud new enough to take the fixed one. Run the occ commands as the web server user from the Nextcloud directory; on Docker, prefix them with docker exec -u www-data nextcloud.
# 1. built-in app or standalone server? (a wopi_url pointing at your own host under /apps/richdocumentscode/ is the built-in app)
cd /var/www/nextcloud # or wherever occ lives
sudo -u www-data php occ app:list | grep -iE 'richdocuments(code)?'
sudo -u www-data php occ config:app:get richdocuments wopi_url
# 2. the app version: below 26.4.303 is affected
grep -m1 '<version>' apps/richdocumentscode/appinfo/info.xml 2>/dev/null
ls -l apps/richdocumentscode/proxy.php 2>/dev/null
# 3. can this Nextcloud take the fixed app (needs 30 or later)
sudo -u www-data php occ status | grep -E 'versionstring'If step 1 shows only richdocuments and a wopi_url on another host or port, you run a standalone server and this CVE does not apply to you. If richdocumentscode is listed and step 2 shows 26.4.303 or later, the code is fixed and you can go straight to the aftermath check below, because the fix date was 11 September and the attacks started around then. If it shows an older version, you are affected whether or not anyone uses document editing, and step 3 tells you which branch of the fix section applies.
Because this one has been exploited since September, look back on every installation that ran the vulnerable app, including ones already updated. The signature is in the web server’s access log, the files the shells were written as, and processes that should not exist.
# requests to the proxy carrying a command substitution, traversal or base64 payload
sudo zgrep -hE 'richdocumentscode/proxy\.php' /var/log/nginx/access.log* /var/log/apache2/access.log* 2>/dev/null \
| grep -E '%24%28|\$\(|base64|%2e%2e|\.\./' | tail -50
# the webshells seen in the wild, and any PHP file in the tree that the Nextcloud release did not ship
sudo find / -xdev -name 'shx*.php' 2>/dev/null
sudo find /var/www/nextcloud -name '*.php' -newermt '2026-09-01' -not -path '*/apps/*' -not -path '*/updater/*' 2>/dev/null | head
# processes and persistence under the web user
ps -u www-data -o pid,etime,comm,args | grep -vE 'php-fpm|apache2|nginx|coolwsd|loolwsd|ps'
sudo crontab -u www-data -l 2>/dev/nullA shx-prefixed PHP file anywhere, or a proxy.php request with $( in it, is not a false positive: the reports on the issue tracker are of exactly these. The web user can read config/config.php, which holds the database password and the instance secret, and can read every user’s files that are stored locally, so a confirmed hit means rotating those credentials, invalidating sessions and treating the data as exposed, not only deleting the shells. Restoring a Linux Server covers the rebuild; Nextcloud’s own data directory and database restore onto a fresh install.
How to fix it
Update the app from the Nextcloud app store, which replaces proxy.php in place; no restart of the web server is needed, though restarting PHP-FPM clears any opcode cache of the old file. Then remove anything the attacks left behind.
# update the app (Nextcloud 30 or later)
sudo -u www-data php occ app:update richdocumentscode
grep -m1 '<version>' apps/richdocumentscode/appinfo/info.xml # must be 26.4.303 or later
sudo systemctl restart 'php*-fpm' 2>/dev/null
# remove the shells the attacks leave, after copying them somewhere for the record
sudo find / -xdev -name 'shx*.php' -print -delete 2>/dev/null
# Nextcloud 29 or older: the fixed app will not install; disable the built-in server instead
sudo -u www-data php occ app:disable richdocumentscode
sudo -u www-data php occ app:remove richdocumentscodeAn installation that cannot move to Nextcloud 30 yet should disable and remove the built-in app and, if document editing is still wanted, run a standalone CODE server, which the CVE record says is not affected: the official collabora/code container behind the same reverse proxy, with richdocuments pointed at it. That is a better arrangement anyway for anything beyond a single-user instance, because the AppImage-in-a-PHP-app design puts a whole office suite inside the web server’s trust boundary.
Do not treat updating richdocuments, the editing frontend, as the fix; the bug is in the separate richdocumentscode app, and the frontend update does nothing for it. Do not block proxy.php at the proxy as a long-term answer, since the editor needs it; a temporary deny rule is fine for the hour between finding the problem and updating. And if you deleted webshells without updating, go back and update: the files are the symptom, and the next proxy.php?status request writes new ones.
Sources
- CVE-2026-110447 at CVE.org — the MITRE record: description, exploitation in September and October 2026, the affected range, CVSS 4.0 9.2, CWE-78 (published 14 October 2026)
- NVD — status Analyzed, NVD’s own CVSS 3.1 9.8, the CPE, KEV dates (last modified 30 October 2026)
- CISA Known Exploited Vulnerabilities — added 23 October 2026, action due 26 October 2026
- richdocumentscode issue #354 — the project’s own tracker thread with the attack traffic, the
shx*.phpshells and the maintainer’s instruction to update to 26.4.303 (September 2026) - richdocumentscode releases — 26.4.303 of 11 September 2026 and the later 26.4.402 and 26.4.502; the 26.4.302 notes record the Nextcloud 30 requirement
- Nextcloud community notice — the 3 October 2026 advisory to built-in CODE users, with the not-affected list and the updates of 14 and 26 October
- Distribution trackers: Debian (not packaged); Ubuntu and Red Hat pages unreachable on 29 November 2026 and the product is not carried by either
- EPSS — 0.762, 99.5th percentile, scored 22 November 2026
Related reading
- Self-Hosting Your First Application, End to End — the Nextcloud-shaped deployment this advisory is about, and why “one app, one container” would have kept the office suite out of the web server
- Docker Compose: One File That Describes the Whole Thing — running a standalone
collabora/codenext to Nextcloud, which is the unaffected arrangement - A Reverse Proxy with Automatic TLS — where a temporary deny rule for
proxy.phpwould go, and where the standalone server plugs in - Reading Linux Logs: journalctl and the Files It Did Not Replace — the access logs the look-back commands read
- Hardening a Public-Facing Service Beyond the Basics — limiting what the web user can write, which is what turns a command injection into a persistent shell
- Restoring a Linux Server: What the Backup Kept and the Restore Threw Away — rebuilding a Nextcloud host after a webshell
This advisory page was assembled from the primary sources listed above on 29 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

