עברית

Vulnerability Intelligence

CVE-2026-50139

Medium 5.9

Published
Last modified
NVD status
Deferred

Description

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.

References2

Metrics

CVSS 3.1
5.9 MEDIUM Score source: CNA CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS — exploit probability
0% percentile: 17 · as of 11 November 2026
CWE
CWE-362

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.