๐Ÿ” CVE Alert

CVE-2026-50138

HIGH 8.1

goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-284
Vendor patrickhener
Product goshs
Published Aug 18, 2026
Stay Ahead of the Next One

Get instant alerts for patrickhener goshs

Be the first to know when new high vulnerabilities affecting patrickhener goshs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

patrickhener / goshs
< 2.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp