CVE-2026-40884 | patrickhener goshs up to 2.0.0-beta.5 SFTP Service missing authentication (GHSA-c29w-qq4m-2gcv)
VulDBArchived Apr 22, 2026✓ Full text saved
A vulnerability was found in patrickhener goshs up to 2.0.0-beta.5 and classified as critical . Impacted is an unknown function of the component SFTP Service . The manipulation results in missing authentication. This vulnerability is reported as CVE-2026-40884 . The attack can be launched remotely. No exploit exists. It is suggested to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358573 · CVE-2026-40884 · GHSA-C29W-QQ4M-2GCV
PATRICKHENER GOSHS UP TO 2.0.0-BETA.5 SFTP SERVICE MISSING AUTHENTICATION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
8.4 $0-$5k 1.27+
Summaryinfo
A vulnerability was found in patrickhener goshs up to 2.0.0-beta.5. It has been classified as critical. The affected element is an unknown function of the component SFTP Service. This manipulation causes missing authentication. This vulnerability appears as CVE-2026-40884. The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is recommended.
Detailsinfo
A vulnerability has been found in patrickhener goshs up to 2.0.0-beta.5 and classified as critical. Affected by this vulnerability is an unknown code block of the component SFTP Service. The manipulation with an unknown input leads to a missing authentication vulnerability. The CWE definition for the vulnerability is CWE-306. The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. This vulnerability is fixed in 2.0.0-beta.6.
The advisory is shared at github.com. This vulnerability is known as CVE-2026-40884 since 04/15/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Neither technical details nor an exploit are publicly available.
Upgrading to version 2.0.0-beta.6 eliminates this vulnerability.
Productinfo
Vendor
patrickhener
Name
goshs
Version
2.0.0-beta.0
2.0.0-beta.1
2.0.0-beta.2
2.0.0-beta.3
2.0.0-beta.4
2.0.0-beta.5
Website
Product: https://github.com/patrickhener/goshs/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Missing authentication
CWE: CWE-306 / CWE-287
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: goshs 2.0.0-beta.6
Timelineinfo
04/15/2026 CVE reserved
04/21/2026 +6 days Advisory disclosed
04/21/2026 +0 days VulDB entry created
04/21/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-c29w-qq4m-2gcv
Status: Confirmed
CVE: CVE-2026-40884 (🔒)
GCVE (CVE): GCVE-0-2026-40884
GCVE (VulDB): GCVE-100-358573
Entryinfo
Created: 04/21/2026 22:29
Changes: 04/21/2026 22:29 (65)
Complete: 🔍
Cache ID: 99:58A:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸