ADVISORIES

Vulnerability

CVE-2026-50138

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.

3 advisories report this vulnerability, across 2 ecosystems.

High severity All Go 2openSUSE 1

Advisories

  • GHSA-3whc-qvhv-xqjp

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

    High CVE-2026-50138 Go Updated 7 July 2026
  • GO-2026-5878

    goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags in goshs.de/goshs

    CVE-2026-50138 Go Updated 7 July 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References