ADVISORIES

Vulnerability

CVE-2026-50139

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.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 1

Advisories

  • GHSA-j48m-h7xq-2xpj

    goshs: Share-link ?token=… redemption races past download limit

    Moderate CVE-2026-50139 Go Updated 7 July 2026
  • GO-2026-5881

    goshs: Share-link ?token=… redemption races past download limit in goshs.de/goshs

    CVE-2026-50139 Go Updated 7 July 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References