MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-42091GHSA-rhf7-wvw3-vjvm

goshs has Cross-Origin Arbitrary File Write via Missing CSRF on PUT and Wildcard CORS

Not on CISA KEVCVSS 6.5 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)