Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-50139
Published:August 18, 2026
Updated:September 23, 2026
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 Packages
goshs.de/goshs/v2 (GO):
Affected version(s) >=v2.0.0 <v2.1.0
Fix Suggestion:
Update to version v2.1.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
EPSS
Base Score:
0.27