Skip to main content

compose-farm EUVDEUVD-2026-134232

| CVE-2026-136184 CRITICAL
Missing Origin Validation in WebSockets (CWE-1385)
2026-11-24 disclosure@vulncheck.com GHSA-xw5g-7f4h-j2mq
9.4
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to malicious website
  2. Delivery
    Page opens cross-site WebSocket to /ws/shell
  3. Exploit
    Bypass absent Origin validation and auth
  4. Execution
    Inject commands via unquoted service parameter
  5. Impact
    Execute OS commands on all managed hosts

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Hardware safety mechanism
Exploitation Conditions

The compose-farm web UI (cf web) must be running and reachable, and deployed without CF_WEB_PASSWORD (the default, unauthenticated mode with no Origin validation) - this is the vulnerable configuration explicitly described by the vendor. Two exploitation paths: (1) the cross-site/CSRF/CSWSH path requires a victim on the trusted network to visit an attacker-controlled web page in a browser (the UI:P interaction), which then connects to /ws/shell/{host}, /ws/exec, or issues PUT /api/console/file and stack actions; (2) any client with direct network reachability to the UI port has the same unauthenticated access with no interaction. The OS command injection leg additionally requires a crafted service name interpolated unquoted into the shell. Limiting factors: the attacker needs either victim browser interaction or direct network reach to the port, and setting CF_WEB_PASSWORD or placing the UI behind an authenticating reverse proxy removes the unauthenticated exposure. Per the vendor, upgrading to 1.22.0 is the complete fix (same-origin enforcement always on, optional Basic auth, shell-quoted/charset-restricted service names, server- and client-side HTML escaping); until then, do not expose the web UI port and restrict it to trusted clients or an authenticating proxy.

Impact

This is a genuine high priority, not a paper-high CVSS. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) and the 9.4 CRITICAL score align with the vuln.today 'act_now' decision label: a network-reachable, unauthenticated web UI with low attack complexity whose compromise yields full confidentiality, integrity, and availability impact on both the application and the managed hosts (VC/VI/VA:H and SC/SI/SA:H - a cross-system/scope impact). The one moderating signal is UI:P (passive user interaction): exploitation via the cross-site vector needs a victim on the trusted network to open an attacker-controlled page in a browser, OR an attacker with direct network reachability to the UI port (who then needs no interaction). No EPSS score and no KEV status were provided in the input, and no public exploit code is identified among the references (they are vendor/NVD advisories and fix commits, not a working PoC), so the absence of those signals should not be read as low risk - it reflects missing data, not confirmed low exploitation. The combination of no authentication, no Origin validation, and command execution on all managed hosts makes this worth prioritizing for upgrade, consistent with the act_now label.

Exploit ScenarioDerived

An attacker hosts a malicious web page and lures a user whose browser can reach the compose-farm web UI on a trusted network to visit it. Because WebSockets are not covered by the same-origin policy and the UI performs no Origin validation or authentication, the page silently opens a cross-site WebSocket to /ws/shell/{host} (or abuses unquoted service parameters / PUT /api/console/file) and runs arbitrary OS commands on every managed host. No public working exploit is identified at time of analysis, though the vendor advisory and fix commits describe the mechanism in detail.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Cross-site WebSocket hijacking and OS command injection in compose-farm 0.19.0 through 1.21.x allow unauthenticated attackers to run commands on every managed host when the cf web UI is reachable without CF_WEB_PASSWORD. A victim on the trusted network only needs to visit an attacker-controlled page for the browser to open /ws/shell/{host} or /ws/exec sockets, or to send state-changing CSRF requests such as PUT /api/console/file and stack actions; any client with direct network reach to the UI port has the same access without interaction. No public exploit identified at time of analysis; the vulnerable default is an unauthenticated web UI with no Origin validation, and the provided priority is act_now.

RemediationAI

Vendor-released patch: 1.22.0. Upgrade compose-farm to 1.22.0, which enforces same-origin for state-changing requests and WebSocket handshakes, adds optional HTTP Basic auth for all routes including WebSockets via CF_WEB_PASSWORD and CF_WEB_USERNAME, shell-quotes service names and rejects names outside the Compose service-name charset, and HTML-escapes untrusted values. Until upgrading, the vendor workaround is to not expose the web UI port and to restrict it to trusted clients or place it behind an authenticating reverse proxy; without CF_WEB_PASSWORD the UI is intended for trusted networks and DNS rebinding is not prevented when the port is directly reachable, so set CF_WEB_PASSWORD in that case. Advisory and fix references: https://github.com/basnijholt/compose-farm/security/advisories/GHSA-64fv-7j6v-8vjj, https://github.com/basnijholt/compose-farm/releases/tag/v1.22.0, and commits 244d56c022de61d2c6b3543b5c973ced97de6cc8, d944a28f0aca4ef2bd20f397bc75c7869f1efe7c, df21578fcc8e6ed439406591e57b4f5673a51863.

Affected VersionsENISA

compose-farm 0.19.0 <1.22.0

Affected Packages

euvd compose_farm fix: 1.22.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

compose-farm is a Python/PyPI tool whose cf web component exposes an interactive management UI, including WebSocket endpoints /ws/shell/{host} and /ws/exec/..., a file editor at /api/console/file, and stack actions. Because the UI has no authentication and does not validate the Origin header on WebSocket handshakes, browsers are not stopped by the same-origin policy from opening those sockets from a malicious site; the same missing CSRF protection lets cross-site requests perform state changes. The GHSA maps the issue to CWE-1385 (missing Origin validation in WebSockets), CWE-306 (missing authentication), CWE-352 (CSRF), CWE-78 (OS command injection), and CWE-79 (XSS); the command-injection leg comes from the service path/CLI value being interpolated unquoted into shell command strings, and the XSS leg from unescaped container, host, and query-parameter values. The supplied CVSS 4.0 score is 9.4, while the independent assessment is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H; exploitation requires the UI to be running and reachable in unauthenticated mode, with either victim browser interaction or direct network access to the port.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.6 CRITICAL

Network-reachable UI with no authentication (PR:N) but requiring a victim to visit a malicious page (UI:R); the compromise extends from the web app to all managed hosts (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Nov 24, 2026 - 18:03 EUVD
CVE Published
Nov 24, 2026 - 17:18 cve.org
CRITICAL 9.4

DescriptionCVE.org

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.

Technical POC Analysis

The vulnerable component is the compose-farm web UI served by cf web.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-136184 in compose-farm (versions 0.19.0-1.21.x) exposes every managed host to unauthenticated command execution when the 'cf web' UI lacks a password (CF_WEB_PASSWORD unset). An attacker-controlled page visited by any trusted-network user, or any client with network reach to the UI port, can take full control of all managed hosts. Leadership should treat this as a severe risk to production infrastructure integrity and data confidentiality, demanding immediate isolation of the web interface.

Business Impact: Severe
Compensating Controls

Set CF_WEB_PASSWORD to require authentication, restrict network access to the UI port, and implement Origin validation and CSRF protections via reverse proxy. No vendor-released patch identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche self-hosted Docker Compose multi-host management tool, individual open-source project
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy