Read the docs
TI-2026-36910 Aliases CVE-2026-50139GHSA-j48m-h7xq-2xpj

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

Priority MEDIUM 60CWE-362Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00256 17th percentileScored 2026-11-07
Fix Fixed goshs (patrickhener): 2.1.0goshs.de/goshs/v2 (Go): 2.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
patrickhenergoshsbefore 2.1.02.1.0Patch availableCNA
—goshs.de/goshs/v2 (Go)before 2.1.02.1.0Patch availableGHSA-j48m-h7xq-2xpj
  • goshs Vendorpatrickhener Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
  • goshs.de/goshs/v2 (Go) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-j48m-h7xq-2xpj

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:goshs:goshs:*:*:*:*:*:*:*:*——patrickhener
  • cpe:2.3:a:goshs:goshs:*:*:*:*:*:*:*:* Versions — — ·patrickhener

Remediation

  • Fix · CNA goshs (patrickhener) Fixed in 2.1.0
  • Fix · GHSA-j48m-h7xq-2xpj goshs.de/goshs/v2 (Go) Fixed in 2.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50139
  2. 2026-10-03 Alias added: GHSA-j48m-h7xq-2xpj

References

  • TI-2026-29540 goshs: Empty-username SFTP password authentication bypass in goshs CVSS 3.1CRITICAL 9.8
  • TI-2026-27601 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs CVSS 3.0CRITICAL 9.8
  • TI-2026-27529 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload CVSS 3.0CRITICAL 9.8
  • TI-2026-27528 goshs has an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs PUT Upload CVSS 3.0CRITICAL 9.8
  • TI-2025-29449 goshs route not protected, allows command execution CVSS 3.0CRITICAL 9.4
  • TI-2026-29003 goshs has a file-based ACL authorization bypass in goshs state-changing routes CVSS 4.0CRITICAL 9.3
See all 14 →

Sources