{"id":"EUVD-2026-21591","revision":"1da2136854d94089a6b26c061ae6382a","records":[{"revision":"1da2136854d94089a6b26c061ae6382a","observedAt":"2026-10-28T05:01:17.623+00:00","statement":{"source":"euvd","id":"EUVD-2026-21591","aliases":["CVE-2026-40189","GHSA-wvhv-qcqf-f3cx"],"title":"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 stat…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"severity":null}],"references":["https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx","https://github.com/patrickhener/goshs/commit/f212c4f4a126556bab008f79758e21a839ef2c0f","https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21591","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 10, 2026, 7:44:54 PM","dateUpdated":"Apr 13, 2026, 8:53:02 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2026:10542-1","title":"goshs-2.0.0-1.1 on GA media","vulnerabilityIds":["CVE-2026-35392","CVE-2026-35393","CVE-2026-35471","CVE-2026-40188","CVE-2026-40189"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-21591","identifiers":["EUVD-2026-21591","CVE-2026-40189","GHSA-wvhv-qcqf-f3cx"]},"retained":false,"historicalAffected":[]}],"coverage":[]}