CVE-2026-50138: goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags
Vulnerability summary
CVE-2026-50138 is a high (CVSS 8.1) Improper Access Control vulnerability in patrickhener goshs. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 18-08-2026PublishedVulnerability first disclosed.
- 19-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 0.42% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Goshs.de1 product
- goshsAll versions (No fix recorded)
Goshs.de/goshs1 product
- v2< 2.1.0
Patrickhener1 product
- goshs< 2.1.0
3 vendors · 3 products
References
3 links- github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjpX Refsource CONFIRM