Summary
CVE-2026-104989 is a critical pre-authentication remote code execution vulnerability (CWE-427: Uncontrolled Search Path Element) in the package upload feature of Chaos V-Ray Swarm, affecting versions through 2.0.19. A remote, unauthenticated attacker with network access to the Swarm web interface can execute arbitrary code. The CVE carries a CVSS v4.0 base score of 9.3 (Critical).
Technical details
- Root cause: Incomplete validation of uploaded archive contents in the package upload feature, combined with an uncontrolled library search path (CWE-427, CAPEC-159: Redirect Access to Libraries).
- Trigger conditions: The attacker uploads a specially crafted package archive containing a malicious DLL, which is then loaded by the service.
- Attack vector: Network. No authentication, credentials, or user interaction required; low attack complexity.
- Impact: Arbitrary code execution as
NT AUTHORITY\SYSTEM, which means full compromise of the host running Swarm.
Affected software
- Chaos V-Ray Swarm: all versions through 2.0.19
- Fixed in: 2.0.21
Severity
- CVSS v4.0 base score: 9.3 (Critical)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade V-Ray Swarm to version 2.0.21 or later.
- Build 2.0.21 also hardens the product: the Swarm service runs under a dedicated restricted account instead of an administrator account. Admin panel and DCC connections are restricted to the local machine by default. V-Ray package signatures from Chaos are verified. Node peer communication is limited to private networks by default (configurable via the
peersIpssetting). Review this last setting if your environment uses non-private ranges. - If you cannot patch immediately, restrict network access to the Swarm web interface so it is not reachable from untrusted networks. This is general hardening and is not a vendor-published workaround.
- Identify any Swarm nodes exposed to untrusted networks and review them for unexpected package uploads or DLLs.

