CVE-2026-136184
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 per…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Basnijholt)
| Product | Affected versions |
|---|---|
| Compose-farm | from 0.19.0 before 1.22.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/basnijholt/compose-farm/security/advisories/GHSA-64fv-7j6v-8vjj
- https://github.com/basnijholt/compose-farm/commit/d944a28f0aca4ef2bd20f397bc75c7869f1efe7c
- https://github.com/basnijholt/compose-farm/commit/df21578fcc8e6ed439406591e57b4f5673a51863
- https://github.com/basnijholt/compose-farm/commit/244d56c022de61d2c6b3543b5c973ced97de6cc8
- https://github.com/basnijholt/compose-farm/releases/tag/v1.22.0
- https://github.com/basnijholt/compose-farm/blob/v1.21.5/src/compose_farm/web/ws.py#L250-L256
- https://www.vulncheck.com/advisories/compose-farm-0.19.0-before-1.22.0-cross-site-websocket-hijacking-rce-via-web-ui
- https://github.com/advisories/GHSA-xw5g-7f4h-j2mq
- https://nvd.nist.gov/vuln/detail/CVE-2026-136184