Skip to main content
← All vulnerabilities
CVE-2026-50139GHSA-J48M-H7XQ-2XPJGO-2026-5881

goshs: Share-link ?token=… redemption races past download limit

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • patrickhener goshs

    fixed in 2.1.0

  • goshs.de/goshs/v2Go

    fixed in 2.1.0

  • goshs.de/goshsGo

    All versions

References 1

GitHub · goshs-labs/goshs