CVE-2025-27093: Silver has unrestricted traffic between Wireguard clients
Summary Sliver's custom Wireguard netstack doesn't limit traffic between Wireguard clients, this could lead to: 1. Leaked/recovered keypair (from a beacon) being used to attack operators. 2. Port forwardings usable from other implants. Details 1. Sliver treat operators' Wireguard config and beacon/session's Wireguard config equally, they both connect to the wireguard listener created from the CLI. 2.
Published Oct 28, 2025 · Updated Nov 5, 2025
Affected packages
github.com/bishopfox/sliver
- Ecosystem
- Go
- Affected
- <= 1.5.43
- Fixed in
- 1.5.44
- Check
go list -m github.com/bishopfox/sliver
github.com/bishopfox/sliver
- Ecosystem
- Go
- Affected
- < 1.5.44
- Fixed in
- 1.5.44
- Check
go list -m github.com/bishopfox/sliver
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Sliver's custom Wireguard netstack doesn't limit traffic between Wireguard clients, this could lead to:
- Leaked/recovered keypair (from a beacon) being used to attack operators.
- Port forwardings usable from other implants.
Details
- Sliver treat operators' Wireguard config and beacon/session's Wireguard config equally, they both connect to the wireguard listener created from the CLI.
- The current netstack implementation does not filter traffic between clients.
I think this piece of code handle traffic between clients, from experimental results clients can ping and connect to each other freely, and I didn't see any filtering here either:
File: server\c2\wireguard.go
246: func socketWGWriteEnvelope(connection net.Conn, envelope *sliverpb.Envelope) error {
247: data, err := proto.Marshal(envelope)
248: if err != nil {
249: wgLog.Errorf("Envelope marshaling error: %v", err)
250: return err
251: }
252: dataLengthBuf := new(bytes.Buffer)
253: binary.Write(dataLengthBuf, binary.LittleEndian, uint32(len(data)))
254: connection.Write(dataLengthBuf.Bytes())
255: connection.Write(data)
256: return nil
257: }
258:
- The docs says to use a Wireguard clients and operator wg-config to connect to the same WG listener as beacons:
https://sliver.sh/docs?name=Port%20Forwarding
- If the operator uses official wireguard clients that integrates with the OS's netstack (I'm using the Windows client) then their services are accessible on the wireguard interface's IP address (for example 100.64.0.3) when the services listen on 0.0.0.0 (SSH, RDP, SMB, etc)
image
- The beacon's wireguard private key can be recovered through a process dump or other forensic techniques.
- When a private key is recovered, an attacker can connect to 100.64.0.1:1337 (key exchange listener) to generate new wireguard clients without the operators' knowledge, in that way achieve persistence inside the wireguard network.
PoC
Easy way:
- Create 2 operators wireguard config.
- Connect them both to the wireguard listener.
- From one machine, ping/scan/connect to the other's services like RDP (3389), SSH (22), etc.
Slightly complicated way:
- From the operator's machine, connect to the wireguard listener.
- On the attacker's machine, run a beacon.
- Dump the process
- Find the private key, public key, endpoint, etc in the dump file:
image image image image
- Construct a valid Wireguard config based on the strings found. On the attacker's machine, connect to the Wireguard listener.
- Ping/scan/connect to the other's services like RDP (3389), SSH (22), etc.
Impact
The operator's machine is impacted, if their services contain a vulnerability, an attacker can exploit it and gain RCE. If not then it could be used to gather information (Hostname, SSH signature, etc).
Suggestion
- Filter traffic between clients with a default-deny policy.
- Differentiate between operators and beacons' wireguard config/client
- Only allow specific one-way traffic when the operator request to open a Wireguard port forward.
Vulnerable versions
All versions containing wireguard functionality.
Credited to catmandx.
References
- https://github.com/BishopFox/sliver/security/advisories/GHSA-q8j9-34qf-7vq7
- https://github.com/BishopFox/sliver/commit/8e5c5f14506d6d60ebb3362e6b9857ab1e0d76ff
- https://nvd.nist.gov/vuln/detail/CVE-2025-27093
- https://github.com/BishopFox/sliver/commit/9122878cbbcae543eb8210f616550382af2065fd
- https://pkg.go.dev/vuln/GO-2025-4079
- https://github.com/advisories/GHSA-q8j9-34qf-7vq7
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
