Read the docs
TI-2026-36909 Aliases CVE-2026-50138GHSA-3whc-qvhv-xqjp

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

Priority HIGH 70CWE-284Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0038 32nd percentileScored 2026-11-07
Fix Fixed goshs (patrickhener): 2.1.0goshs.de/goshs/v2 (Go): 2.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
patrickhenergoshsbefore 2.1.02.1.0Patch availableCNA
—goshs.de/goshs/v2 (Go)before 2.1.02.1.0Patch availableGHSA-3whc-qvhv-xqjp
  • goshs Vendorpatrickhener Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
  • goshs.de/goshs/v2 (Go) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-3whc-qvhv-xqjp

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:goshs:goshs:*:*:*:*:*:*:*:*——patrickhener
  • cpe:2.3:a:goshs:goshs:*:*:*:*:*:*:*:* Versions — — ·patrickhener

Remediation

  • Fix · CNA goshs (patrickhener) Fixed in 2.1.0
  • Fix · GHSA-3whc-qvhv-xqjp goshs.de/goshs/v2 (Go) Fixed in 2.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50138
  2. 2026-10-03 Alias added: GHSA-3whc-qvhv-xqjp

References

  • TI-2026-29540 goshs: Empty-username SFTP password authentication bypass in goshs CVSS 3.1CRITICAL 9.8
  • TI-2026-27601 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs CVSS 3.0CRITICAL 9.8
  • TI-2026-27529 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload CVSS 3.0CRITICAL 9.8
  • TI-2026-27528 goshs has an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs PUT Upload CVSS 3.0CRITICAL 9.8
  • TI-2025-29449 goshs route not protected, allows command execution CVSS 3.0CRITICAL 9.4
  • TI-2026-29003 goshs has a file-based ACL authorization bypass in goshs state-changing routes CVSS 4.0CRITICAL 9.3
See all 14 →

Sources