Live threats

All CVEs / patrickhener

CVE-2026-50139patrickhener goshs

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Aug 18, 2026
Updated
Oct 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for goshs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go goshs.de/goshs all no fixed version —
Go goshs.de/goshs/v2 < 2.1.0 2.1.0 go get goshs.de/goshs/v2@v2.1.0
Go goshs.de/goshs/v2 < 2.1.0 2.1.0 go get goshs.de/goshs/v2@v2.1.0

Per OSV / GitHub Advisories (GO-2026-5881, GHSA-j48m-h7xq-2xpj). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.