CVE-2026-50138CWE-284broken-access-control

CVE-2026-50138

High · published August 18, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
30.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00380 · 30.8th percentile
Weakness
CWE-284 · Improper Access Control
Published
2026-08-18T19:16Z
References (2)
EPSS history
Timeline
  • 18 AUG 14:59Z
    goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags
    cvelistv5