OVERVIEW CVE-2026-40884 is an authentication bypass vulnerability in goshs, a SimpleHTTPServer implementation written in Go, affecting versions prior to 2.0.0-beta.6. The flaw exists in the SFTP authentication mechanism when the server is configured with the documented empty-username basic authentication syntax (-b ':pass'). In this configuration, goshs fails to properly install an SFTP password handler, allowing unauthenticated attackers to establish SFTP connections and access files without credentials. SEVERITY This vulnerability carries a CVSS 3.1 score of 9.8 CRITICAL, with an attack vector that is network-based, requires low attack complexity, and demands no privileges or user interaction. The impact is severe across all security dimensions: confidentiality, integrity, and availability are all highly compromised. An unauthenticated remote attacker can freely connect to the SFTP service and read, modify, or delete files on the affected system. EXPLOITATION STATUS CVE-2026-40884 is not currently listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and is marked inactive on the Hot List, indicating no widespread active exploitation at this time. The EPSS score of 0.00055 suggests low probability of exploitation in the wild. However, the critical severity rating and straightforward exploitation requirements warrant prompt patching, particularly for internet-facing deployments of goshs running vulnerable versions.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 2.0.0CPE matchmatch criteria | cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* | ||
2.0.0CPE matchmatch criteria | cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* | ||
2.0.0CPE matchmatch criteria | cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:* | ||
2.0.0CPE matchmatch criteria | cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:* | ||
2.0.0CPE matchmatch criteria | cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.