Quick answers
- Is CVE-2026-50138 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50138 being exploited in the wild.
- How severe is CVE-2026-50138?
- High severity, with a CVSS score of 8.1, published 18 August 2026.
- Which products and versions are affected?
- goshs.de/goshs (Go) SEMVER:introduced=0; goshs.de/goshs/v2 (Go) <= 2.0.9, SEMVER:introduced=0,fixed=2.1.0.
- Is there a fix for CVE-2026-50138?
- Yes. goshs.de/goshs/v2 (Go): upgrade to 2.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-50138 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-50138?
- Check whether you run goshs.de/goshs (Go) or goshs.de/goshs/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- goshs.de/goshs/v2 (Go): upgrade to 2.1.0 or later
go get goshs.de/goshs/v2@v2.1.0
Technical details
The vulnerability is an improper access control issue (CWE-284) within the WebDAV implementation of goshs. While the primary HTTP handler correctly enforces mode-restriction flags, the WebDAV mux (located in httpserver/server.go) fails to apply the ReadOnly, UploadOnly, or NoDelete checks before passing requests to the underlying WebDAV handler. An attacker with valid credentials can use WebDAV methods like PUT, DELETE, MKCOL, MOVE, and COPY to bypass intended file system restrictions. This issue is resolved in version 2.1.0.
Affected products
- patrickhener goshs <= 2.0.9
Identifiers
- CVE-2026-50138
- GHSA-3whc-qvhv-xqjp
- GO-2026-5878
Timeline
- 2026-05-27: other: Vulnerability reproduced by researcher
- 2026-05-28: disclosed: Advisory published by maintainer
- 2026-07-01: advisory: Published to GitHub Advisory Database
References
- https://api.github.com/users/black-shadow-007
- https://github.com/black-shadow-007
- https://api.github.com/users/black-shadow-007/gists%7B/gist_id%7D
- https://api.github.com/users/black-shadow-007/repos
- https://avatars.githubusercontent.com/u/205796698?v=4
- https://api.github.com/users/black-shadow-007/events%7B/privacy%7D