CVE-2026-40885

HIGH CVSS 4.0: 7.7 EPSS 0.32%
Updated Oct 27, 2026
Goshs
Parameter Value
CVSS 7.7 (HIGH)
Fixed In 2.0.0
Type CWE-200 (Information Exposure)
Vendor Goshs
Public PoC No

goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs leaks file-based ACL credentials through its public collaborator feed when the server is deployed without global basic auth. Requests to .goshs-protected folders are logged before authorization is enforced, and the collaborator websocket broadcasts raw request headers, including Authorization.

An unauthenticated observer can capture a victim's folder-specific basic-auth header and replay it to read, upload, overwrite, and delete files inside the protected subtree. This vulnerability is fixed in 2.0.0-beta.6.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Goshs Goshs
cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*
— —
Goshs Goshs
cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:*
— —