BuildRiot
Sign in

Article · Cloud

Nextcloud Collabora exploit: check versions, close exposure and assess compromise

Collabora identifies 26.4.303 as the minimum fixed richdocumentscode version for CVE-2026-110447. This guide explains how to inventory installations, reconstruct exposure during server stoppages, preserve evidence and investigate possible prior compromise.

A miniature forensic workspace shows blank document windows, a blue shutter closing an exposed enclosure, and a clear evidence case beneath a magnified red fingerprint.
Illustration: BuildRiot (AI-generated)

Key takeaway

Installing the fixed app addresses the vulnerable entry point but does not establish that a previously exposed system is uncompromised. Developers need to account for brief restart windows and assess possible attacker access separately from remediation.

Identify the affected app

Attackers planted PHP web shells on Nextcloud installations running richdocumentscode 26.4.302, according to an operator’s report of attacks on September 10 and 11. Collabora identifies 26.4.303 as the minimum fixed version for CVE-2026-110447. The Hacker News reported that the vulnerability entered the U.S. Known Exploited Vulnerabilities catalog on October 23, 2026. Updating is urgent, and possible prior compromise needs a separate investigation. Sources: Collabora Online, GitHub, The Hacker News

Start with the exact app ID: richdocumentscode, the built-in Collabora Online server app for Nextcloud. Record its version separately from richdocuments; that app’s version is not a substitute for the affected component’s inventory. Standalone Collabora Online servers are outside the advisory’s scope. Nextcloud documents an inventory command that lists enabled and disabled apps. Sources: Collabora Online, Nextcloud

The command examples below are documentation-based and have not been runtime-tested. Validate service accounts, permissions, app-store access, disabled-app version display and removal behavior on the target deployment. Preserve the complete inventory output. Treat missing version information as an inventory gap, not proof of absence.

The Linux example assumes the service user is www-data and the current directory is /var/www/nextcloud. The container examples use the Nextcloud project image’s documented default user, www-data, and installation directory, /var/www/html. NEXTCLOUD_CONTAINER is a placeholder, and app is an assumed Compose service name. Substitute the deployment’s actual account and names; the Docker project supports customized users. Sources: Nextcloud

sudo -u www-data php occ app:list
docker exec --user www-data NEXTCLOUD_CONTAINER php /var/www/html/occ app:list
docker compose exec --user www-data app php /var/www/html/occ app:list

Reconstruct exposure during server stoppages

According to Collabora, an unauthenticated request to proxy.php can execute an operating-system command as the web-server user. This is possible only while the built-in document server is stopped. Container restarts, upgrades and crashes can create that condition. A running document server today therefore cannot establish historical safety. Reconstruct when a vulnerable app, a reachable endpoint and a stopped document server overlapped. Sources: Collabora Online

BuildRiot recommends the following reconstruction and preservation steps. Use deployment records and operational logs to build exposure intervals, following the collection plan in the table below. Normalize time zones while retaining original timestamps, and mark missing periods as unknown. A restart timestamp alone does not establish how long a stoppage lasted. Begin with the earliest plausible vulnerable deployment, rather than the public advisory date: the operator reported attacks in September. Sources: GitHub

Table

Evidence to correlate across the exposure window

TimelineEvidence to collect
Vulnerable app presentDeployment records, app updates, backups and image/package inventories
Endpoint reachableReverse-proxy configuration, ingress changes and access logs
Built-in server stoppedContainer events, service logs, crashes, upgrades and restart records
Possible execution or persistenceRequest logs, file metadata and process/security telemetry
Use these records to reconstruct exposure intervals and investigate possible execution.Sources: Collabora Online, GitHub

Preserve evidence and restrict access

Where feasible, preserve evidence before updating, removing files or rebuilding the installation. Collect access and error logs, application and container logs, suspicious files with metadata and hashes, and volatile process information. Store copies outside the suspected system with restricted access. If malicious activity continues, prioritize containment over exhaustive collection.

Restrict untrusted access through the deployment’s actual ingress paths. Check whether an origin address or alternate hostname bypasses the restriction. Do not deliberately stop an exposed vulnerable document server to reproduce the attack condition. Warn users and arrange an editing pause. Blocking or removing the built-in service may interrupt collaborative editing that depends on it.

Preservation matters particularly before app removal, because Nextcloud documents that the removal command both disables and removes the app. Nextcloud also offers an option to retain app data during removal. Retaining app data does not substitute for preserving logs, suspicious files and their surrounding context. Decide what to collect before cleanup changes that evidence. Sources: Nextcloud

Install 26.4.303 or remove the app

Collabora says versions below 26.4.303 are vulnerable. Disabling the app is insufficient; operators must upgrade or remove it. For Nextcloud 29 or older, the vendor directs operators to upgrade Nextcloud or remove the app. The advisory also says the fix for CVE-2025-66208 does not prevent this distinct vulnerability. A previous security update therefore does not settle the current version check. Sources: Collabora Online

After preservation and containment, choose one of the following alternative actions. Nextcloud documents both occ command forms; these examples target richdocumentscode. Run the selected command from the actual Nextcloud installation directory as its service user. For containers, use the corresponding invocation pattern shown earlier. Sources: Nextcloud

# Update the app:
sudo -u www-data php occ app:update richdocumentscode

# Or remove the app:
sudo -u www-data php occ app:remove richdocumentscode

Run the inventory again and record the resulting version or removal state. Do not treat an updater’s successful exit as proof that the installed release meets the minimum fixed version. If the platform cannot receive a fixed release, follow Collabora’s platform-upgrade or removal direction. After removal, verify that the former entry point is no longer reachable through the deployment’s ingress paths. Sources: Collabora Online

Investigate execution and persistence

The operator report identifies requests to /apps/richdocumentscode/proxy.php?status and PHP web shells named shrf4645.php and shxa35d0.php. It also describes subsequent discovery for password stores and cryptocurrency artifacts. The requests examined in that report did not show explicit exfiltration commands. That does not establish that data remained confidential. Treat these observations as investigation leads. An endpoint match alone does not prove execution, and the filenames are not an exhaustive detection rule. Sources: GitHub

  • Review original request paths and query strings for encoded traversal and shell-like syntax.
  • Examine unexpected shx*.php and shrf*.php files without executing them.
  • Correlate suspicious requests with file creation and later requests to those files.
  • Review process, authentication and outbound-connection evidence for subsequent activity.

Nextcloud documents app verification against a signature; the following command applies that check to richdocumentscode. Its documentation says successful verification returns no message. Interpret the result narrowly. A clean app signature cannot establish that no command ran, no secret was read or no persistence exists elsewhere. An integrity failure warrants examination but does not independently identify its cause. Sources: Nextcloud

sudo -u www-data php occ integrity:check-app richdocumentscode

The incident discussion includes an operator’s report of alarming process arguments after updating. A maintainer said those arguments should be harmless and advised removing lingering shells. That exchange does not demonstrate a bypass of 26.4.303. Keep the fixed entry point separate from artifacts or access left by an earlier attack. Sources: GitHub

Document recovery and verify editing

Escalate to incident response when findings include confirmed web-shell execution, unexplained executable files or evidence of subsequent access. Scope recovery and credential replacement around what the compromised web-server account could access. Deleting one suspicious file should not close the incident. Record remaining uncertainty, especially where log retention leaves gaps in the exposure timeline.

Record separate remediation and compromise findings before returning the installation to routine operation. The remediation finding should identify the verified fixed version, or confirm app removal and closure of its former entry point. The compromise finding should document evidence reviewed, discoveries, retention gaps, unresolved scope and recovery actions. After recovery, check opening, editing, saving and concurrent editing through the intended document service before ending the editing pause.

Attribution

Sources

  1. 1Collabora OnlineUnauthenticated OS command injection in the richdocumentscode proxy
  2. 2GitHubSecurity issue - Hack · Issue #354
  3. 3NextcloudApps, background jobs & config commands — Nextcloud 35 Administration Manual
  4. 4NextcloudNextcloud Docker README
  5. 5NextcloudUsing the occ command
  6. 6The Hacker NewsCISA Flags Two Actively Exploited Critical Flaws in Collabora Online and Arista VeloCloudSource published (UTC)

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on Cloud

All Cloud stories
Nextcloud Collabora exploit: check versions, close exposure and assess compromise · BuildRiot