Vulnerability Details CVE-2026-40189
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.4, goshs enforces the documented per-folder .goshs ACL/basic-auth mechanism for directory listings and file reads, but it does not enforce the same authorization checks for state-changing routes. An unauthenticated attacker can upload files with PUT, upload files with multipart POST /upload, create directories with ?mkdir, and delete files with ?delete inside a .goshs-protected directory. By deleting the .goshs file itself, the attacker can remove the folder's auth policy and then access previously protected content without credentials. This results in a critical authorization bypass affecting confidentiality, integrity, and availability. This vulnerability is fixed in 2.0.0-beta.4.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 28.5%
CVSS Severity
CVSS v3 Score 9.8
Products affected by CVE-2026-40189
-
cpe:2.3:a:goshs:goshs:0.0.1
-
cpe:2.3:a:goshs:goshs:0.0.2
-
cpe:2.3:a:goshs:goshs:0.0.3
-
cpe:2.3:a:goshs:goshs:0.0.4
-
cpe:2.3:a:goshs:goshs:0.0.5
-
cpe:2.3:a:goshs:goshs:0.0.6
-
cpe:2.3:a:goshs:goshs:0.0.8
-
cpe:2.3:a:goshs:goshs:0.0.9
-
cpe:2.3:a:goshs:goshs:0.1.0
-
cpe:2.3:a:goshs:goshs:0.1.1
-
cpe:2.3:a:goshs:goshs:0.1.2
-
cpe:2.3:a:goshs:goshs:0.1.3
-
cpe:2.3:a:goshs:goshs:0.1.4
-
cpe:2.3:a:goshs:goshs:0.1.5
-
cpe:2.3:a:goshs:goshs:0.1.6
-
cpe:2.3:a:goshs:goshs:0.1.7
-
cpe:2.3:a:goshs:goshs:0.1.8
-
cpe:2.3:a:goshs:goshs:0.1.9
-
cpe:2.3:a:goshs:goshs:0.2.0
-
cpe:2.3:a:goshs:goshs:0.3.0
-
cpe:2.3:a:goshs:goshs:0.3.1
-
cpe:2.3:a:goshs:goshs:0.3.2
-
cpe:2.3:a:goshs:goshs:0.3.3
-
cpe:2.3:a:goshs:goshs:0.3.4
-
cpe:2.3:a:goshs:goshs:0.3.5
-
cpe:2.3:a:goshs:goshs:0.3.6
-
cpe:2.3:a:goshs:goshs:0.3.7
-
cpe:2.3:a:goshs:goshs:0.3.8
-
cpe:2.3:a:goshs:goshs:0.3.9
-
cpe:2.3:a:goshs:goshs:0.4.0
-
cpe:2.3:a:goshs:goshs:0.4.1
-
cpe:2.3:a:goshs:goshs:0.4.2
-
cpe:2.3:a:goshs:goshs:1.0.0
-
cpe:2.3:a:goshs:goshs:1.0.1
-
cpe:2.3:a:goshs:goshs:1.0.2
-
cpe:2.3:a:goshs:goshs:1.0.3
-
cpe:2.3:a:goshs:goshs:1.0.4
-
cpe:2.3:a:goshs:goshs:1.0.5
-
cpe:2.3:a:goshs:goshs:1.0.6
-
cpe:2.3:a:goshs:goshs:1.0.7
-
cpe:2.3:a:goshs:goshs:1.0.8
-
cpe:2.3:a:goshs:goshs:1.0.9
-
cpe:2.3:a:goshs:goshs:1.1.0
-
cpe:2.3:a:goshs:goshs:1.1.1
-
cpe:2.3:a:goshs:goshs:1.1.2
-
cpe:2.3:a:goshs:goshs:1.1.3
-
cpe:2.3:a:goshs:goshs:1.1.4
-
cpe:2.3:a:goshs:goshs:2.0.0