Live threats

All CVEs / patrickhener

CVE-2026-50138patrickhener goshs

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
—
Auth required
Yes
Published
Aug 18, 2026
Updated
Oct 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for goshs.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go goshs.de/goshs all no fixed version —
Go goshs.de/goshs/v2 < 2.1.0 2.1.0 go get goshs.de/goshs/v2@v2.1.0
Go goshs.de/goshs/v2 < 2.1.0 2.1.0 go get goshs.de/goshs/v2@v2.1.0

Per OSV / GitHub Advisories (GO-2026-5878, GHSA-3whc-qvhv-xqjp). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.