PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40883 patrickhener CVE debrief

A cross-site request forgery issue was found in goshs, a SimpleHTTPServer written in Go, from version 2.0.0-beta.4 to 2.0.0-beta.5. This vulnerability allows an external attacker to cause an already authenticated browser to trigger destructive actions. The issue arises because goshs relies solely on HTTP basic auth and lacks CSRF, Origin, or Referer validation for state-changing HTTP GET routes, such as ?delete and ?mkdir. Defenders should be aware of the potential for unauthorized actions on the server and the need for verification of goshs version and exposure.

Vendor
patrickhener
Product
goshs
CVSS
MEDIUM 6.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-21
Original CVE updated
2026-10-26
Advisory published
2026-04-21
Advisory updated
2026-10-26

Who should care

Defenders and administrators using goshs in their environments should assess exposure and prioritize verification and updates to prevent potential CSRF attacks. This includes reviewing the current version of goshs, identifying potentially affected systems, and planning for updates or mitigations. Security teams and operators should be aware of the vulnerability's impact on their platforms and take necessary actions to protect against unauthorized actions.

Why it matters

Defenders should care about CVE-2026-40883 because it allows external attackers to perform unauthorized actions on goshs servers using authenticated browser sessions, and updating to version 2.0.0-beta.6 or later can prevent such attacks.

  • Potential for unauthorized actions on the server
  • Need for verification of goshs version and exposure
  • Priority for updating to version 2.0.0-beta.6 or later
  • Potential for CSRF attacks using authenticated browser sessions

Technical summary

The goshs SimpleHTTPServer written in Go contains a cross-site request forgery issue in its state-changing HTTP GET routes from version 2.0.0-beta.4 to 2.0.0-beta.5. 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.

Defensive priority

Defenders should prioritize verifying and updating goshs instances to version 2.0.0-beta.6 or later, and assess exposure in their environments.

Recommended defensive actions

  • Verify and update goshs instances to version 2.0.0-beta.6 or later
  • Assess exposure in environments using goshs
  • Implement CSRF protection for state-changing HTTP GET routes
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD vulnerability detail page provide information on the vulnerability, its impact, and the fixed version. The vulnerability was fixed in version 2.0.0-beta.6. There may be limited information available on the specific attack vectors or exploitability details. Defenders should verify the affected scope and review the official advisory for further guidance.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40883 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40883

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40883 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40883

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/patrickhener/goshs/security/advisories/GHSA-jrq5-hg6x-j6g3

    [email protected] - Exploit, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.