CVE-2026-50138patrickhener goshs
High 8.1
Follow: this CVE · patrickhener · patrickhener goshs We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 18, 2026
- Updated
- Oct 22, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
goshs is a SimpleHTTPServer written in Go. Prior to version 2.1.0, when `goshs` is launched with WebDAV enabled (`-w`), the mode-restriction flags `--read-only`, `--upload-only`, and `--no-delete` are enforced only on the primary HTTP port. The WebDAV port is wired straight to `golang.org/x/net/webdav.Handler` with no equivalent guard, so an authenticated WebDAV client can `PUT`, `DELETE`, `MKCOL`, `MOVE`, and `COPY` despite the operator's stated intent. Version 2.1.0 patches the issue.
What to do
- Apply the vendor's security update for goshs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | goshs.de/goshs |
all |
no fixed version | — |
| Go | goshs.de/goshs/v2 |
< 2.1.0 |
2.1.0 |
go get goshs.de/goshs/v2@v2.1.0 |
| Go | goshs.de/goshs/v2 |
< 2.1.0 |
2.1.0 |
go get goshs.de/goshs/v2@v2.1.0 |
Per OSV / GitHub Advisories (GO-2026-5878, GHSA-3whc-qvhv-xqjp). Check the version in your lockfile before upgrading.
Affected products
- patrickhener · goshs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.