The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Thursday, 26 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-136184: compose-farm Flaw Scores 9.4, Patch Now

By The Daily Byte ·26 Nov 2026 ·4 min read
Server hall with rows of server racks (illustrative file photo)

A flaw in compose-farm, a tool for managing Docker Compose stacks on remote hosts through a web interface, lets a malicious website run commands on every server the tool manages. Tracked as CVE-2026-136184, the flaw scores 9.4 out of 10 under CVSS version 4.0. It was published on Monday, 24 November 2026, and the fix is version 1.22.0.

The cause is a missing check that web applications are supposed to perform on every browser connection: verifying the Origin, the site the connection came from. compose-farm's web interface performs no Origin validation at all, and its interface needs no login. That combination is what makes the flaw work. A user who is signed in to compose-farm and then visits a malicious website can have their browser turned into the attacker's tool, because the browser will happily open connections back to compose-farm on the attacker's behalf.

How a website visit becomes remote code execution

The malicious page can open WebSocket connections to the tool's shell and command endpoints, /ws/shell/{host} and /ws/exec, and run commands on any host compose-farm manages. It can also abuse unquoted service parameters and a file-write endpoint, PUT /api/console/file, to reach the same result. The flaw is classified as CWE-1385, missing Origin validation in WebSockets, and the advisory also describes a cross-site request forgery element in the same missing check.

The CVSS vector records network access and low complexity, with high impact on confidentiality, integrity and availability of both the tool itself and the systems behind it. The one condition is user interaction: the victim has to visit the malicious page while signed in to compose-farm. That is a low bar in practice, since the tool is the kind of dashboard an operator keeps open in a browser tab all day.

Who is affected

compose-farm versions from 0.19.0 up to, but not including, 1.22.0 are affected. The fix is version 1.22.0, which adds the missing Origin validation. The flaw is tracked under GitHub advisory GHSA-64fv-7j6v-8vjj, and the CVE record was assigned through VulnCheck. Anyone running the web interface on an older version is affected, and the risk is highest where the interface is reachable from the wider network rather than only from an operator's own machine.

No exploitation has been reported in the sources checked, and the flaw is not listed in the US CISA catalogue of exploited vulnerabilities. The proof of the attack is straightforward enough that waiting for exploitation reports would be a poor reason to delay patching.

What to do now

Update compose-farm to version 1.22.0. Until the update is installed, keep the web interface off the internet and reachable only from trusted machines, and sign out of it when it is not in use rather than leaving a session open in a background tab. After updating, check the command history on managed hosts for anything the operator does not recognise.

The wider lesson applies to any self-hosted dashboard with a browser interface. An unauthenticated web UI that accepts connections from any origin is trusting every website its users visit, and a single malicious page is enough to spend that trust. Origin checks and login requirements are not optional extras for tools that can run shell commands. (The image above is a generic file photo of a server hall, not a compose-farm installation.)

FAQ

What is CVE-2026-136184? It is a cross-site WebSocket hijacking flaw in compose-farm from version 0.19.0 before 1.22.0, scored 9.4 out of 10 under CVSS 4.0, that lets a malicious website run commands on hosts managed by the tool.

Am I affected? If you run compose-farm version 1.21.5 or earlier with its web interface enabled, yes.

Is there a fix? Yes. Update to version 1.22.0, which adds the missing Origin validation.

Is it being exploited? No exploitation has been reported in the sources checked.

[Source: OSV record for CVE-2026-136184](https://osv.dev/vulnerability/CVE-2026-136184) | [Source: VulnCheck advisory for CVE-2026-136184](https://www.vulncheck.com/advisories/compose-farm-0.19.0-before-1.22.0-cross-site-websocket-hijacking-rce-via-web-ui)

Source
OSV (Open Source Vulnerabilities) — https://osv.dev/vulnerability/CVE-2026-136184