Security mailing lists by PureSourceCode

CVE-2026-50138

HIGH 8.1CVSS 3.1

goshs: WebDAV listener ignores --read-only, --upload-only, and --no-delete mode flags

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
18 Aug 2026
Last modified
22 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-284
Also known as
GHSA-3whc-qvhv-xqjpGO-2026-5878
Sources
NVDJSONOSV GHSA-3whc-qvhv-xqjpJSONOSV GO-2026-5878JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go goshs.de/goshs/v2 < 2.1.0 2.1.0
OSV Go goshs.de/goshs all versions

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 18 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.