# CVE-2026-40883

> Vulnerability · severity: **HIGH** (CVSS 8.1).

## Description

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.

## Key facts

- **CVE ID:** CVE-2026-40883
- **Published:** 2026-04-21
- **CVSS severity:** HIGH
- **CVSS base score:** 8.1
- **CWE codes:** CWE-352

## Affected products

- `goshs:goshs`

## Primary sources

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

## Citation

> AI Analytics. CVE-2026-40883. Retrieved 2026-07-16 from https://api.ai-analytics.org/cve/CVE-2026-40883. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*