cve.bz

CVE-2026-50139

5.9 mediumEPSS 0.3%

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.

CVSS 3.1
5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 17% of CVEs (scores of 2026-10-25)
CWE
CWE-362
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j48m-h7xq-2xpjGogoshs.de/goshs/v2<2.1.02.1.0
GO-2026-5881Gogoshs.de/goshsall versionsno fix published
GO-2026-5881Gogoshs.de/goshs/v2<2.1.02.1.0

References

Check your stackJSON