CVE-2026-25791: Sliver has DNS C2 OTP Bypass that Allows Unauthenticated Session Flooding and Denial of Service
Summary The DNS C2 listener accepts unauthenticated TOTP bootstrap messages and allocates server-side DNS sessions without validating OTP values, even when EnforceOTP is enabled. Because sessions are stored without a cleanup/expiry path in this flow, an unauthenticated remote actor can repeatedly create sessions and drive memory exhaustion.
Published Feb 6, 2026 · Updated Feb 9, 2026
Affected packages
github.com/bishopfox/sliver
- Ecosystem
- Go
- Affected
- <= 1.6.11
- Fixed in
- 1.6.12
- Check
go list -m github.com/bishopfox/sliver
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The DNS C2 listener accepts unauthenticated TOTP bootstrap messages and allocates server-side DNS sessions without validating OTP values, even when EnforceOTP is enabled. Because sessions are stored without a cleanup/expiry path in this flow, an unauthenticated remote actor can repeatedly create sessions and drive memory exhaustion.
Vulnerable Component
server/c2/dns.go:84-90(EnforceOTPstored but not enforced in bootstrap)server/c2/dns.go:378-390(TOTPrequests routed directly to bootstrap)server/c2/dns.go:490-521(handleHelloallocates session without OTP validation)server/c2/dns.go:495(sessions.Storewith no lifecycle control in this path)client/command/jobs/dns.go:46-52(operator-facingEnforceOTPcontrol implies auth gate)implant/sliver/transports/dnsclient/dnsclient.go:896-900(otpMsgsendsTOTPwithID=0)protobuf/dnspb/dns.proto:22(documents TOTP inIDfield)
Attack Vector
- Network-accessible DNS listener
- No authentication required
- Low-complexity repeated DNS query loop
- Trigger path:
DNSMessageType_TOTPbootstrap handling
Proof of Concept
Preconditions
- DNS listener is reachable
- DNS C2 job is active
Reproduction Steps
- Send repeated DNS queries with a minimal protobuf message of type
TOTP. - Observe repeated session allocation/issuance behavior.
- Continue requests to increase active in-memory session state.
Example
while true; do
dig +short @<DNS_C2_IP> baa8.<parent-domain> A >/dev/null
donebaa8 is a base32 payload for a minimal TOTP-type protobuf message.
Observable Indicators
- Repeated bootstrap/session-allocation log entries from
handleHello - Rising memory usage in the Sliver server process
- Service slowdown or instability under sustained request volume
Impact
- Unauthenticated remote denial of service (availability)
- Resource exhaustion through unbounded session growth in DNS bootstrap path
- Estimated CVSS v3.1:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(7.5 High)
Credited to xtle0o0.
References
- https://github.com/BishopFox/sliver/security/advisories/GHSA-wxrw-gvg8-fqjp
- https://github.com/BishopFox/sliver/commit/2b65089b27c553e79e69f1067cad1339e4f3d937
- https://nvd.nist.gov/vuln/detail/CVE-2026-25791
- https://github.com/BishopFox/sliver/releases/tag/v1.7.0
- https://github.com/advisories/GHSA-wxrw-gvg8-fqjp
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-25760
Sliver Vulnerable to Website Path Traversal / Arbitrary File Read (Authenticated)
medium6.5Feb 5, 2026GHSA-hjr9-wj7v-7hv8
Sliver Vulnerable to Pre-Auth Memory Exhaustion via NoEncoder Bypass
medium5.5No fixJan 5, 2026
