{"cve":"CVE-2026-50138","nvd":{"published":"2026-08-18T15:16:54.580","modified":"2026-10-22T22:10:00.250","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-284"],"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"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:26.291718493+00:00"},"epss":{"cve":"CVE-2026-50138","score":0.0038,"percentile":0.31744,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3whc-qvhv-xqjp","url":"https://osv.dev/vulnerability/GHSA-3whc-qvhv-xqjp","summary":"goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags","modified":"2026-07-07T16:11:06.128102008Z","packages":[{"ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":["<2.1.0"],"fixed":["2.1.0"]}]},{"id":"GO-2026-5878","url":"https://osv.dev/vulnerability/GO-2026-5878","summary":"goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags in goshs.de/goshs","modified":"2026-07-07T16:01:31.264609966Z","packages":[{"ecosystem":"Go","name":"goshs.de/goshs","purl":"pkg:golang/goshs.de/goshs","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":["<2.1.0"],"fixed":["2.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}