
Go proof-of-concept for CVE-2026-110447, an unauthenticated OS command injection in Nextcloud richdocumentscode proxy.php, supporting single URLs or target lists with optional proxy.
Unauthenticated OS command injection in Collabora Online - Built-in CODE Server
(richdocumentscode), a Nextcloud app. Fixed in 26.4.303.
proxy.php passes $_SERVER['REQUEST_URI'] into a bash -c "..." command that is
run with exec(). The value is wrapped in escapeshellarg(), but the surrounding
double quotes leave $( ) active, so the shell runs it before the AppImage starts.
Affects installs where the bundled CODE server is not running (after a restart,
crash or upgrade), over HTTPS. No authentication required.
This is a 1-day PoC. The vulnerability is public, patched since 2026-09-11, and listed in CISA KEV.
go run main.go <single-url>
go run main.go <single-url> -proxy <proxy-url>
go run main.go targets.txt -proxy <proxy-url>
| Switch | Description |
|---|---|
-proxy | Outbound proxy, e.g. socks5://127.0.0.1:10808. Default is direct. |