cvedb.io
CVE-2026-42091
MEDIUM · CVSS 6.5
EPSS exploitation probability: 0%
Published 2026-05-04T18:16:31.210 · Last modified 2026-06-17T10:47:25.307

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 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.

Affected products

goshs — goshs

Does this affect you?

Add your gear to cvedb and we'll alert you only when goshs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.