CVE-2026-50138

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductGoshs.de/goshs/v2
PublishedAug 18, 2026
First seenAug 18, 2026

How to fix

Update
  • goshs.de/goshs/v22.1.0 or later

Affected products

ProductAffected versionsFixed in
goshs.de/goshs/v2Gov < 2.1.02.1.0
goshs.de/goshsGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.