CVE-2026-40189

Published: Apr 10, 2026 Last Modified: Apr 14, 2026
ExploitDB:
Other exploit source:
Google Dorks:
CRITICAL 9,3
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Confidentiality: N/A
Integrity: N/A
Availability: N/A
CRITICAL 9,8
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: high
Availability: high

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0011
Percentile
0,3th
Updated

EPSS Score Trend (Last 6 Days)

862

Missing Authorization

Incomplete
Common Consequences
Security Scopes Affected:
Confidentiality Integrity Access Control Availability
Potential Impacts:
Read Application Data Read Files Or Directories Modify Application Data Modify Files Or Directories Gain Privileges Or Assume Identity Bypass Protection Mechanism Dos: Crash, Exit, Or Restart Dos: Resource Consumption (Cpu) Dos: Resource Consumption (Memory) Dos: Resource Consumption (Other)
Applicable Platforms
Technologies: AI/ML, Database Server, Not Technology-Specific, Web Server
View CWE Details
Application

Goshs by Goshs

cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Goshs by Goshs

Version Range Affected
To 2.0.0 (exclusive)
cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Goshs by Goshs

cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Goshs by Goshs

cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx
https://github.com/patrickhener/goshs/commit/f212c4f4a126556bab008f79758e21a839…
https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4
https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx