Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The goshs package (github.com/patrickhener/goshs/v2) before 2.0.2 is vulnerable. Its PUT upload handler skips the CSRF check that the POST upload handler has, and its OPTIONS preflight response allows any origin. A website a user visits can therefore write or overwrite files in the goshs webroot through the user's browser, including on localhost or internal networks. Upgrade to version 2.0.2. The older github.com/patrickhener/goshs module, versions 1.1.4 and earlier, is also affected, and no fixed version is listed for it.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0016, the 5th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:06 UTC First seen by agentprime
- 31 Oct 2026, 15:06 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-rhf7-wvw3-vjvm
- OSV: GHSA-rhf7-wvw3-vjvm
- github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm
- nvd.nist.gov/vuln/detail/CVE-2026-42091
- github.com/patrickhener/goshs/commit/0e715b94e10c3d1aa552276000f15f104dee2f32
- github.com/patrickhener/goshs
- github.com/patrickhener/goshs/releases/tag/v2.0.2