{"id":"CVE-2026-50138","aliases":["GHSA-3whc-qvhv-xqjp","GO-2026-5878"],"url":"https://o3.security/vulnerability/CVE-2026-50138","summary":"goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags","details":"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.","published":"2026-08-18T14:59:43.416Z","modified":"2026-08-21T03:30:25.014620780Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.00334,"percentile":0.26482,"asOf":"2026-09-13"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"goshs.de/goshs/v2","fixedVersion":"2.1.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50138.json"},{"type":"ADVISORY","url":"https://github.com/goshs-labs/goshs/security/advisories/GHSA-3whc-qvhv-xqjp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50138"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-21T03:30:25.014620780Z"}}