Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-50139: goshs is a SimpleHTTPServer written in Go

30
Routine
MEDIUM 5.9REMOTE

CVE-2026-50139 is a medium-severity flaw (CVSS 5.9) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 84%)
CISA exploited listNo
WeaknessCWE-362
Published2026-08-18
Last modified2026-10-22
Publisher (CNA): GitHub, Inc.

Share: LinkedIn · X · Reddit

Last updated 2026-10-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Timeline

Exact fixes by distribution

Go · goshs.de/goshs/v2 · FIXED · 2.1.0 · vulnerable: <= 2.0.9 · source
go get goshs.de/goshs/v2@v2.1.0 go list -m goshs.de/goshs/v2
Fedora 46 · diffoscope · FIXED · 335-1.fc46 · FEDORA-2026-e4c4cc0856 · source
sudo dnf upgrade --advisory=FEDORA-2026-e4c4cc0856

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-50139?

No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.

Is CVE-2026-50139 being exploited?

CVE-2026-50139 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-50139 affect?

CVE-2026-50139 affects affected software. Severity is medium (CVSS 5.9). 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 requ

How urgent is CVE-2026-50139?

Priority 30/100. Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.