Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-50138— goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags

Quick assessment

Affected
patrickhener goshs
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

goshs-labs goshs是goshs-labs组织的一个Web服务器软件。 goshs-labs goshs 2.1.0之前版本存在权限许可和访问控制问题漏洞,该漏洞源于WebDAV端口未正确执行模式限制标志,可能导致已认证的WebDAV客户端绕过限制执行PUT、DELETE、MKCOL、MOVE和COPY等操作。

CVSS 8.1 · High EPSS 0.38% · P30

Possible ATT&CK Techniques 1 AI

T1565.001 · Stored Data Manipulation

Affected Version Matrix 1

VendorProduct Version RangeStatus
patrickhener goshs < 2.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50138

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
访问控制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
goshs-labs goshs 权限许可和访问控制问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
goshs-labs goshs是goshs-labs组织的一个Web服务器软件。 goshs-labs goshs 2.1.0之前版本存在权限许可和访问控制问题漏洞,该漏洞源于WebDAV端口未正确执行模式限制标志,可能导致已认证的WebDAV客户端绕过限制执行PUT、DELETE、MKCOL、MOVE和COPY等操作。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
patrickhener goshs < 2.1.0 -

II. Public POCs for CVE-2026-50138

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: WebDAV PUT succeeded despite --read-only; file on disk after PUT: "PWNED" (webdav port ignores mode flags, pre-2.1.0)
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 8781 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-50138

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-50138 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-50138

No comments yet


Leave a comment