Skip to main content
← All vulnerabilities
CVE-2026-50138GO-2026-5878GHSA-3WHC-QVHV-XQJP

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • patrickhener goshs

    fixed in 2.1.0

  • goshs.de/goshsGo

    All versions

  • goshs.de/goshs/v2Go

    fixed in 2.1.0

References 1

GitHub · goshs-labs/goshs