{"id":"CVE-2026-40883","revision":"17efbf258645483a91af52545d6c25a2","records":[{"revision":"17efbf258645483a91af52545d6c25a2","observedAt":"2026-10-27T10:10:07.342+00:00","statement":{"source":"nvd","id":"CVE-2026-40883","aliases":[],"title":"goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigge…","description":"goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigger destructive actions such as ?delete and ?mkdir because goshs relies on HTTP basic auth alone and performs no CSRF, Origin, or Referer validation for those routes. This vulnerability is fixed in 2.0.0-beta.6.","state":0,"publishedAt":"2026-04-21T20:17:01.983+00:00","modifiedAt":"2026-10-26T00:10:00.15+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":6.1,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":8.1,"severity":"HIGH"}],"references":["https://github.com/patrickhener/goshs/security/advisories/GHSA-jrq5-hg6x-j6g3"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40883","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-352"],"productCriteria":["cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*","cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:*"],"sourceDates":{"published":"2026-04-21T20:17:01.983","lastModified":"2026-10-26T00:10:00.150"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-40883","identifiers":["CVE-2026-40883"]},"retained":false,"historicalAffected":[]}],"coverage":[]}