CVE-2026-50139CWE-362

CVE-2026-50139

Medium · published August 18, 2026

CVSS v3.1
5.9
EPSS
0%
Percentile
16.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00256 · 16.4th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2026-08-18T19:16Z
References (2)
EPSS history
Timeline
  • 18 AUG 15:01Z
    goshs: Share-link ?token=… redemption races past download limit
    cvelistv5