CVE-2026-136184 · basnijholt / compose-farm
CVE-2026-136184
Full advisory details, affected packages, severity context, and original source.
Affected technology
Affected versions and fixes
Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.
basnijholt / compose-farm · semver
CVE vendor record- affected: From 0.19.0 (inclusive) · before 1.22.0 (exclusive) · semver
Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.
Repository: https://github.com/basnijholt/compose-farm
Other versions: unaffected according to the vendor record.
Advisory overview
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.
Related references
- https://github.com/basnijholt/compose-farm/blob/v1.21.5/src/compose_farm/web/ws.py#L250-L256
- https://github.com/basnijholt/compose-farm/commit/244d56c022de61d2c6b3543b5c973ced97de6cc8
- https://github.com/basnijholt/compose-farm/commit/d944a28f0aca4ef2bd20f397bc75c7869f1efe7c
- https://github.com/basnijholt/compose-farm/commit/df21578fcc8e6ed439406591e57b4f5673a51863
- https://github.com/basnijholt/compose-farm/releases/tag/v1.22.0
- https://github.com/basnijholt/compose-farm/security/advisories/GHSA-64fv-7j6v-8vjj
- https://www.vulncheck.com/advisories/compose-farm-0.19.0-before-1.22.0-cross-site-websocket-hijacking-rce-via-web-ui
