CVE Explorer
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 attac
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"goshs","vendor":"patrickhener","versions":[{"status":"affected","version":"< 2.0.0-beta.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-862","description":"CWE-862: Missing Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/patrickhener/goshs/commit/f212c4f4a126556bab008f79758e21a839ef2c0f","tags":["x_refsource_MISC"],"url":"https://github.com/patrickhener/goshs/commit/f212c4f4a126556bab008f79758e21a839ef2c0f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/cna/references/1
{"name":"https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4","tags":["x_refsource_MISC"],"url":"https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/adp/0/references/0
{"name":"https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:badf0524c006ccaa2b22264400e59bcf93896b0a70c9ae79b8e3827b109150f2 · sha256:a47ce0ee6433ecc2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.