{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-50139","published":"2026-08-18T15:16:54.733000Z","last_modified":"2026-10-22T22:10:00.250000Z","status":"Deferred","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-362"],"cpes":[],"cpes_truncated":false,"vendors":["patrickhener"],"products":["patrickhener/goshs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-5881","ecosystem":"Go","name":"goshs.de/goshs","purl":"pkg:golang/goshs.de/goshs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-j48m-h7xq-2xpj","ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":[{"introduced":"0","fixed":"2.1.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5881","ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":[{"introduced":"0","fixed":"2.1.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-50139/","html_en":"/en/cve/CVE-2026-50139/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50139","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50139"},"untrusted":{"vendor_name":"patrickhener","product_name":"goshs","desc_en":"goshs is a SimpleHTTPServer written in Go. Prior to version 2.1.0, `ShareHandler` reads the share token's `DownloadLimit` under `RLock`, releases the lock, serves the file, then re-acquires the lock to increment the counter. Concurrent requests all read the same `Downloaded`/`DownloadLimit` snapshot, all pass the check, and all are served — exceeding the operator's intended cap. Version 2.1.0 patches the issue.","affected":[{"untrusted_vendor":"patrickhener","untrusted_product":"goshs","versions":[]}],"references":[{"url":"https://github.com/goshs-labs/goshs/security/advisories/GHSA-j48m-h7xq-2xpj","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}