Vulnerabilities in pkg:golang/github.com/bishopfox/sliver
PACKAGECVE-2026-34227 is a MODERATE insecure cors & unauthenticated mcp vulnerability (CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains) affecting Sliver One-Click Remote Access libraries in the Go ecosystem. The issue involves insecure cors & unauthenticated mcp interface. Remediation is available by upgrading affected packages to version 1.7.4.
pkg:golang/github.com/bishopfox/sliver
Vulnerability advisories affecting package pkg:golang/github.com/bishopfox/sliver. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6fpf-248c-m7wm | CVE-2026-34227 | MODERATE | Sliver One-Click Remote Access: Insecure CORS & Unauthenticated MCP Interface |
| GHSA-97vp-pwqj-46qc | CVE-2026-32941 | MODERATE | Sliver Vulnerable to Authenticated OOM via Memory Exhaustion in mTLS/WireGuard Transports |
| GHSA-c279-989m-238f | - | HIGH | Sliver: Nil Pointer Dereference in tunnelCloseHandler causes panic when a reverse tunnel (rportfwd) close is attempted |
| GHSA-hx52-cv84-jr5v | CVE-2026-29781 | LOW | Sliver is Vulnerable to Authenticated Nil-Pointer Dereference through its Handlers |
| GHSA-2phg-qgmm-r638 | - | HIGH | Sliver has Potential Zip Bomb Denial of Service in GzipEncoder |
| GHSA-wxrw-gvg8-fqjp | CVE-2026-25791 | HIGH | Sliver has DNS C2 OTP Bypass that Allows Unauthenticated Session Flooding and Denial of Service |
| GHSA-2286-hxv5-cmp2 | CVE-2026-25760 | MODERATE | Sliver Vulnerable to Website Path Traversal / Arbitrary File Read (Authenticated) |
| GHSA-hjr9-wj7v-7hv8 | - | MODERATE | Sliver Vulnerable to Pre-Auth Memory Exhaustion via NoEncoder Bypass |
| GHSA-q8j9-34qf-7vq7 | CVE-2025-27093 | MODERATE | Silver has unrestricted traffic between Wireguard clients |
| GHSA-fh4v-v779-4g2w | CVE-2025-27090 | MODERATE | SSRF in sliver teamserver |
| GHSA-8jxm-xp43-qh3q | CVE-2023-34758 | CRITICAL | Silver vulnerable to MitM attack against implants due to a cryptography vulnerability |
| GHSA-hc5w-gxxr-w8x8 | CVE-2024-41111 | HIGH | Sliver Allows Authenticated Operator-to-Server Remote Code Execution |
CVE-2026-34227 at a Glance
How to Fix CVE-2026-34227
To remediate this vulnerability, upgrade all affected Sliver One-Click Remote Access dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/bishopfox/sliver to 1.7.4
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-34227, inspect your project dependencies for Sliver One-Click Remote Access:
inspect dependencies for github.com/bishopfox/sliver
Analyze the terminal output to locate any version of Sliver One-Click Remote Access in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.4), 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-942: Permissive Cross-domain Security Policy with Untrusted Domains, where the product uses a web-client protection mechanism such as a content security policy (csp) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate. In Sliver One-Click Remote Access, 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
CVE-2026-34227 Affected Sliver One-Click Remote Access Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/bishopfox/sliver
|
Go |
< 1.7.4
|
1.7.4
|
References
Frequently Asked Questions
What is CVE-2026-34227?
Which Sliver One-Click Remote Access versions are affected?
What version fixes CVE-2026-34227?
Is github.com/bishopfox/sliver affected?
What CWE is associated with CVE-2026-34227?
How can I check Go dependencies for CVE-2026-34227?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6fpf-248c-m7wm",
"modified" : "2026-03-31T23:07:48Z",
"published" : "2026-03-31T23:07:48Z",
"aliases" : [ "CVE-2026-34227" ],
"summary" : "Sliver One-Click Remote Access: Insecure CORS & Unauthenticated MCP Interface",
"details" : "A single click on a malicious link gives an unauthenticated attacker immediate, silent control over every active C2 session or beacon, capable of exfiltrating all collected target data (e.g. SSH keys, `ntds.dit`) or destroying the entire compromised infrastructure, entirely through the operator's own browser.\n\n## Description\nThe Sliver MCP server runs inside the Sliver Client and binds an unauthenticated HTTP and SSE interface to `localhost:8080` by default. The service returns a permissive `Access-Control-Allow-Origin: *` header on all responses.\n\nBecause this server is client-side, the attack surface is distributed across every individual operator in the operation. Any arbitrary website can issue cross-origin requests and interact with the MCP interface via an operator's browser, no credentials required.\n\nIf the interface is misconfigured to bind to all interfaces (`0.0.0.0`), the vulnerability escalates from a client-side CSRF/CORS issue to direct, unauthenticated remote access from any actor on the network.\n\n\n## Exposed Methods\nExploitation grants unauthorized access to the following MCP tools:\n- `list_sessions_and_beacons`\n- `fs_ls`, `fs_pwd`, `fs_cd`\n- `fs_cat`\n- `fs_rm`, `fs_mv`, `fs_cp`, `fs_mkdir`\n- `fs_chmod`, `fs_chown`\n\n## PoC \n1. Start the Sliver client with MCP enabled (default `localhost:8080`)\n2. Open a browser and load a page containing the [Proof of Concept JavaScript](https://github.com/skoveit/CVE-2026-34227).\n3. Observe that the page successfully lists sessions and can issue filesystem commands against live implants, with no authentication\n\n## Impact Assessment\nSuccessful exploitation results in total operational compromise.\n- **Direct Infrastructure Exposure:** If misconfigured to `0.0.0.0`, the C2 framework becomes fully accessible to any actor on the network or internet without requiring operator interaction.\n- **Information Leakage:** Complete visibility into active sessions, deployed beacons, and file system structures (`list_sessions_and_beacons`, `fs_ls`, `fs_pwd`).\n- **Arbitrary File Read:** Covert exfiltration of any target data (e.g., SSH keys, `ntds.dit`) through the C2 channel (`fs_cat`).\n- **Integrity & Availability Loss:** Arbitrary deletion or modification of files on compromised targets, leading to potential sabotage or denial of service (`fs_rm`, `fs_mv`, `fs_cp`).\n\n**Severity: Critical**\n\n\n\n## Attack Scenarios\n**Scenario 1: Data Exfiltration via Drive-by Execution (Default Localhost)** An operator clicks a link to a benign-looking site hosting malicious JavaScript (e.g. via open redirect). The script executes commands against `localhost:8080`, retrieves the operator's target list, and silently downloads sensitive files (e.g., a target's `ntds.dit`) using the operator's existing C2 connections.\n\n **Scenario 2: Campaign Neutralization (Default Localhost)** A malicious site lures an operator to a controlled domain. Embedded JavaScript immediately issues `fs_rm` commands across all active implants, mass-deleting beacons and permanently severing operator access to the target network in a single click.\n\n **Scenario 3: Direct Takeover (0.0.0.0 Misconfiguration)** An operator configures the MCP interface to listen on `0.0.0.0` for team access. An external attacker scans the network, discovers the exposed port, and directly issues unauthenticated API calls to hijack active sessions, drop connections, or exfiltrate data.\n \n \n## Technical Root Cause\nThe vulnerability stems from an insecure integration with the `mcp-go` library. While the library hardcodes permissive CORS (`Access-Control-Allow-Origin: *`), it also fails to validate the `Content-Type` header. This allows an attacker to use Simple Requests (e.g., `text/plain`) to bypass the browser's CORS preflight (`OPTIONS`) check entirely, making the attack highly reliable across all modern browsers without any additional techniques.\n\nFurthermore, the Sliver implementation fails to implement any authentication middleware or origin restrictions to protect the sensitive RPC interface, meaning even if the CORS behavior were corrected upstream in `mcp-go`, the endpoint would remain fully unauthenticated.\n\n\n---\n\n ## Demo\n \nhttps://github.com/user-attachments/assets/b18216c2-2c0b-41a2-aa39-229b3f148c24",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/bishopfox/sliver"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.7.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/BishopFox/sliver/security/advisories/GHSA-6fpf-248c-m7wm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34227"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/BishopFox/sliver"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-306", "CWE-942" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-31T23:07:48Z",
"nvd_published_at" : "2026-03-31T16:16:32Z"
}
}