Vulnerability

CVE-2026-50139

mediumCVSS 3.1 5.9Published 18 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /goshs-labs/goshs/security/advisories/GHSA-j48m-h7xq-2xpj

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning