Live threats

All CVEs / Goshs

CVE-2026-40883Goshs

Medium 6.1 No auth needed

Priority
52
CVSS 4.0
6.1
EPSS
—
Auth required
No
Published
Apr 21, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Goshs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/patrickhener/goshs all no fixed version —
Go github.com/patrickhener/goshs/v2 ≥ 2.0.0-beta.4 < 2.0.0-beta.6 2.0.0-beta.6 go get github.com/patrickhener/goshs/v2@v2.0.0-beta.6
Go github.com/patrickhener/goshs/v2 ≥ 2.0.0-beta.4 < 2.0.0-beta.6 2.0.0-beta.6 go get github.com/patrickhener/goshs/v2@v2.0.0-beta.6

Per OSV / GitHub Advisories (GO-2026-5479, GHSA-jrq5-hg6x-j6g3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
goshsgoshs2.0.0
goshsgoshs2.0.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.