CVE-2026-25791: Github.com/bishopfox/sliver Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-wxrw-gvg8-fqjp
CVSS 7.5
CWE-400 CWE-306
Published
Advisory Summary

CVE-2026-25791 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/bishopfox/sliver libraries in the Go ecosystem. The issue involves sliver has dns c2 otp bypass that allows unauthenticated session flooding and denial of service. Remediation is available by upgrading affected packages to version 1.6.12.

CVE-2026-25791 at a Glance

CVE Identifier CVE-2026-25791
GHSA Identifier GHSA-wxrw-gvg8-fqjp
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/bishopfox/sliver
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-25791

To remediate this vulnerability, upgrade all affected Github.com/bishopfox/sliver dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/bishopfox/sliver fixed: 1.6.12
Upgrade github.com/bishopfox/sliver to 1.6.12
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/bishopfox/sliver

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-25791, inspect your project dependencies for Github.com/bishopfox/sliver:

inspect dependencies for github.com/bishopfox/sliver

Analyze the terminal output to locate any version of Github.com/bishopfox/sliver in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.12), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/bishopfox/sliver, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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` (`EnforceOTP` stored but not enforced in bootstrap) - `server/c2/dns.go:378-390` (`TOTP` requests routed directly to bootstrap) - `server/c2/dns.go:490-521` (`handleHello` allocates session without OTP validation) - `server/c2/dns.go:495` (`sessions.Store` with no lifecycle control in this path) - `client/command/jobs/dns.go:46-52` (operator-facing `EnforceOTP` control implies auth gate) - `implant/sliver/transports/dnsclient/dnsclient.go:896-900` (`otpMsg` sends `TOTP` with `ID=0`) - `protobuf/dnspb/dns.proto:22` (documents TOTP in `ID` field) ## Attack Vector - Network-accessible DNS listener - No authentication required - Low-complexity repeated DNS query loop - Trigger path: `DNSMessageType_TOTP` bootstrap handling ## Proof of Concept ### Preconditions - DNS listener is reachable - DNS C2 job is active ### Reproduction Steps 1. Send repeated DNS queries with a minimal protobuf message of type `TOTP`. 2. Observe repeated session allocation/issuance behavior. 3. Continue requests to increase active in-memory session state. ### Example ```bash while true; do dig +short @<DNS_C2_IP> baa8.<parent-domain> A >/dev/null done ``` `baa8` 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**)

CVE-2026-25791 Affected Github.com/bishopfox/sliver Versions

1 component(s)
Fixed Versions:
1.6.12
Product / Package Ecosystem Affected Versions Fixed Version
github.com/bishopfox/sliver
Go
< 1.6.12
1.6.12

References

Frequently Asked Questions

What is CVE-2026-25791?
CVE-2026-25791 is a security vulnerability in Github.com/bishopfox/sliver involving Sliver has DNS C2 OTP Bypass that Allows Unauthenticated Session Flooding and Denial of Service under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/bishopfox/sliver versions are affected?
Affected versions include releases prior to 1.6.12 across affected packages: github.com/bishopfox/sliver.
What version fixes CVE-2026-25791?
Upgrading to 1.6.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/bishopfox/sliver affected?
Yes, github.com/bishopfox/sliver is affected in releases prior to 1.6.12. Upgrade your dependency to 1.6.12 or later.
What is the CVSS score of CVE-2026-25791?
CVE-2026-25791 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-25791?
CVE-2026-25791 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for CVE-2026-25791?
Run the dependency tree command: 'inspect dependencies for github.com/bishopfox/sliver'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wxrw-gvg8-fqjp",
  "modified" : "2026-02-09T22:39:50Z",
  "published" : "2026-02-06T22:52:00Z",
  "aliases" : [ "CVE-2026-25791" ],
  "summary" : "Sliver has DNS C2 OTP Bypass that Allows Unauthenticated Session Flooding and Denial of Service",
  "details" : "## Summary\nThe 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.\n\n## Vulnerable Component\n- `server/c2/dns.go:84-90` (`EnforceOTP` stored but not enforced in bootstrap)\n- `server/c2/dns.go:378-390` (`TOTP` requests routed directly to bootstrap)\n- `server/c2/dns.go:490-521` (`handleHello` allocates session without OTP validation)\n- `server/c2/dns.go:495` (`sessions.Store` with no lifecycle control in this path)\n- `client/command/jobs/dns.go:46-52` (operator-facing `EnforceOTP` control implies auth gate)\n- `implant/sliver/transports/dnsclient/dnsclient.go:896-900` (`otpMsg` sends `TOTP` with `ID=0`)\n- `protobuf/dnspb/dns.proto:22` (documents TOTP in `ID` field)\n\n## Attack Vector\n- Network-accessible DNS listener\n- No authentication required\n- Low-complexity repeated DNS query loop\n- Trigger path: `DNSMessageType_TOTP` bootstrap handling\n\n## Proof of Concept\n### Preconditions\n- DNS listener is reachable\n- DNS C2 job is active\n\n### Reproduction Steps\n1. Send repeated DNS queries with a minimal protobuf message of type `TOTP`.\n2. Observe repeated session allocation/issuance behavior.\n3. Continue requests to increase active in-memory session state.\n\n### Example\n```bash\nwhile true; do\n  dig +short @<DNS_C2_IP> baa8.<parent-domain> A >/dev/null\ndone\n```\n\n`baa8` is a base32 payload for a minimal TOTP-type protobuf message.\n\n### Observable Indicators\n- Repeated bootstrap/session-allocation log entries from `handleHello`\n- Rising memory usage in the Sliver server process\n- Service slowdown or instability under sustained request volume\n\n## Impact\n- Unauthenticated remote denial of service (availability)\n- Resource exhaustion through unbounded session growth in DNS bootstrap path\n- 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**)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/bishopfox/sliver"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.6.12"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.6.11"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/BishopFox/sliver/security/advisories/GHSA-wxrw-gvg8-fqjp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25791"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BishopFox/sliver/commit/2b65089b27c553e79e69f1067cad1339e4f3d937"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/BishopFox/sliver"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BishopFox/sliver/releases/tag/v1.7.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306", "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-06T22:52:00Z",
    "nvd_published_at" : "2026-02-09T21:15:49Z"
  }
}