CVE-2026-50138
Last modified
CVE-2026-50138 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| patrickhener | goshs | < 2.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50138?
How severe is CVE-2026-50138?
How do I fix CVE-2026-50138?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50132Budibase is an open-source low-code platform. Prior to 3.39.…7.3
- CVE-2026-50133Hugo is a static site generator. Prior to 0.162.0, Hugo acce…6.1
- CVE-2026-50134Hugo is a static site generator. From 0.91.0 until 0.162.0, …5.8
- CVE-2026-50135Hugo is a static site generator. From 0.123.0 to 0.161.1, a …5.5
- CVE-2026-50136Budibase is an open-source low-code platform. Prior to 3.39.…5.3
- CVE-2026-50137Budibase is an open-source low-code platform. Prior to 3.39.…9.4
- CVE-2026-50139goshs is a SimpleHTTPServer written in Go. Prior to version …5.9
- CVE-2026-5014A vulnerability was found in elecV2 elecV2P up to 3.8.3. The…5.5
- CVE-2026-50141Woodpecker is a CI/CD engine. Starting in version 3.0.0 and …7.1
- CVE-2026-50142libheif is a HEIF and AVIF file format decoder and encoder. …7.5
- CVE-2026-50143The Apify MCP server enables AI agents to extract data from …8.1
- CVE-2026-50144ncnn is a high-performance neural network inference framewor…7.1
Are you affected by CVE-2026-50138?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
