
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-66208 is a Configuration-Dependent Remote Code Execution (RCE) vulnerability via OS Command Injection in the Collabora Online Built-in CODE Server (richdocumentscode) proxy component. It affects all versions of richdocumentscode prior to 25.04.702 and was disclosed on December 3, 2025. The vulnerability is exploitable through proxy.php in conjunction with an intermediate reverse proxy that insecurely trusts the X-Forwarded-Host header. It carries a CVSS v3.1 base score of 9.8 (Critical) and a CVSS v4.0 base score of 7.2 (High) (GitHub Advisory, Red Hat CVE).
The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), meaning user-controlled input is passed unsanitized to an OS-level command interpreter (GitHub Advisory). The attack vector is network-based, requiring no authentication or user interaction, but is configuration-dependent: exploitation requires a reverse proxy that insecurely trusts the X-Forwarded-Host HTTP header forwarded to proxy.php. The default standalone setup of richdocumentscode and dedicated Collabora Online server deployments are not affected; only Nextcloud deployments using the Built-in CODE Server app with a misconfigured intermediate reverse proxy are vulnerable (GitHub Advisory).
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary operating system commands on the host running the Collabora Online Built-in CODE Server, potentially resulting in complete system compromise. This includes unauthorized access to sensitive data, modification or destruction of files, installation of malware or backdoors, and full service disruption. Given that the affected component is typically integrated with Nextcloud, exploitation could also expose documents and user data stored within the Nextcloud instance (GitHub Advisory, Red Hat CVE).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.49%, indicating a currently low probability of exploitation in the near term. The CVSSv4 exploit maturity is rated "UNREPORTED," and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was discovered and reported by researcher "solonbughuntbh" (GitHub Advisory).
X-Forwarded-Host header to the Collabora Online proxy endpoint.proxy.php endpoint with a manipulated X-Forwarded-Host header containing OS command injection payloads (e.g., shell metacharacters or command separators) designed to be interpreted by the server-side command execution context./proxy.php with suspicious X-Forwarded-Host header values containing shell metacharacters (e.g., ;, |, `, $(), &&); unexpected outbound connections from the Collabora/Nextcloud server to external IPs.proxy.php with anomalous or encoded X-Forwarded-Host values; error logs indicating unexpected command execution or process spawning./bin/sh, bash, curl, wget, python, nc) not consistent with normal document editing operations.The vulnerability is fixed in Collabora Online Built-in CODE Server (richdocumentscode) version 25.04.702; all affected users should upgrade immediately (GitHub Advisory). As a workaround, avoid using reverse proxy configurations that insecurely trust the X-Forwarded-Host header when forwarding requests to the Collabora Online proxy. Deployments using the default "Collabora Online - Built-in CODE Server" setup without an intermediate reverse proxy, or using a standalone dedicated Collabora Online server, are not affected and do not require immediate action. Additionally, implementing network segmentation to limit external access to the proxy endpoint and monitoring for suspicious activity are recommended interim measures.
The vulnerability was rated "Moderate" severity by the Collabora Online project on GitHub, despite the CVSS v3.1 score of 9.8, reflecting the configuration-dependent nature of exploitation. Red Hat has also tracked the CVE in their security advisory database. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified at this time (GitHub Advisory, Red Hat CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."