compose-farm 0.19.0 before 1.22.0 Cross-Site WebSocket Hijacking RCE via Web UI
- State
- Published
- Severity
- 9.4 Critical
- Published
- Nov 24, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 24, 2026
Description
compose-farm 0.19.0 before 1.22.0 contains a cross-site WebSocket hijacking and cross-site request forgery vulnerability because its unauthenticated web UI performs no Origin validation. Malicious websites visited by users can open /ws/shell/{host} or /ws/exec sockets, or abuse unquoted service parameters and PUT /api/console/file, to execute commands on all managed hosts.
| Product | Versions |
|---|---|
| compose-farm basnijholt | 0.19.0 to before 1.22.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.4 Critical | VulnCheck | |
| 3.1 | 9.6 Critical | VulnCheck |
Weaknesses
- CWE-1385 Missing Origin Validation in WebSockets
References
- GitHub Security Advisory (GHSA-64fv-7j6v-8vjj)Vendor Advisory
- https://github.com/basnijholt/compose-farm/commit/d944a28f0aca4ef2bd20f397bc75c7869f1efe7cPatch
- https://github.com/basnijholt/compose-farm/commit/df21578fcc8e6ed439406591e57b4f5673a51863Patch
- https://github.com/basnijholt/compose-farm/commit/244d56c022de61d2c6b3543b5c973ced97de6cc8Patch
- compose-farm v1.22.0 Release NotesRelease Notes
- https://github.com/basnijholt/compose-farm/blob/v1.21.5/src/compose_farm/web/ws.py#L250-L256Technical Details
- VulnCheck Advisory: compose-farm 0.19.0 before 1.22.0 Cross-Site WebSocket Hijacking RCE via Web UIThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.