๐Ÿ” CVE Alert

CVE-2026-50139

MEDIUM 5.9

goshs: Share-link ?token=โ€ฆ redemption races past download limit

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-362
Vendor patrickhener
Product goshs
Published Aug 18, 2026
Stay Ahead of the Next One

Get instant alerts for patrickhener goshs

Be the first to know when new medium vulnerabilities affecting patrickhener goshs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

patrickhener / goshs
< 2.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/goshs-labs/goshs/security/advisories/GHSA-j48m-h7xq-2xpj