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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp
FAQ
What is CVE-2026-50138?
CVE-2026-50138 is a vulnerability with a CVSS score of 8.1 (HIGH). 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...
How severe is CVE-2026-50138?
CVE-2026-50138 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50138?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.