GHSA-wvhv-qcqf-f3cx · Severity: critical · Ecosystem: go — goshs has a file-based ACL authorization bypass in goshs state-changing routes
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.
Conclusion & alert: CVE-2026-40189 is rated Exploit Available (57.7/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-22 | 0.15% | 0.05% | -0.10% |
| 2 | 2026-05-12 | 0.10% | 0.15% | +0.05% |
| 3 | 2026-04-11 | — | 0.10% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.3 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-wvhv-qcqf-f3cx · Severity: critical · Ecosystem: go — goshs has a file-based ACL authorization bypass in goshs state-changing routes
| vendor | priority | summary | link |
|---|---|---|---|
suse
|
critical | CVE-2026-40189 severity critical: SUSE including 1 source package names (goshs-2.0.0-1.1), 1 product×package rows across 1 product lines (openSUSE Tumbleweed): Fixed 1. | https://www.suse.com/security/cve/CVE-2026-40189/ |
| URL | Tags |
|---|---|
| https://github.com/patrickhener/goshs/commit/f212c4f4a126556bab008f79758e21a839ef2c0f | Patch |
| https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4 | Product Release Notes |
| https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx | Exploit Mitigation Vendor Advisory |