{"id":"CVE-2026-42091","revision":"a67d6600fa73470eaf6364bf2b5dde4a","records":[{"revision":"a67d6600fa73470eaf6364bf2b5dde4a","observedAt":"2026-10-25T10:17:10.603+00:00","statement":{"source":"nvd","id":"CVE-2026-42091","aliases":[],"title":"goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. Combined with the unco…","description":"goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. Combined with the unconditional Access-Control-Allow-Origin: * on the OPTIONS preflight handler (httpserver/server.go), any website can write arbitrary files to a goshs instance through the victim's browser — bypassing network isolation (e.g. localhost, internal network). This issue has been patched in version 2.0.2.","state":0,"publishedAt":"2026-05-04T18:16:31.21+00:00","modifiedAt":"2026-06-17T10:47:25.307+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/patrickhener/goshs/commit/0e715b94e10c3d1aa552276000f15f104dee2f32","https://github.com/patrickhener/goshs/releases/tag/v2.0.2","https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42091","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-352"],"productCriteria":["cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2026-05-04T18:16:31.210","lastModified":"2026-06-17T10:47:25.307"},"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-42091","identifiers":["CVE-2026-42091"]},"retained":false,"historicalAffected":[]}],"coverage":[]}