Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-50139— goshs: Share-link ?token=… redemption races past download limit

Quick assessment

Affected
patrickhener goshs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

goshs-labs goshs是goshs-labs组织的一个Web服务器软件。 goshs-labs goshs 2.1.0之前版本存在竞争条件问题漏洞,该漏洞源于ShareHandler在读取和更新下载计数时存在竞争条件问题,可能导致并发请求绕过下载限制,超出预期上限。

CVSS 5.9 · Medium EPSS 0.26% · P16

Affected Version Matrix 1

VendorProduct Version RangeStatus
patrickhener goshs < 2.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50139

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
goshs: Share-link ?token=… redemption races past download limit
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Source: CVE Program / CVE List V5
Vulnerability Title
goshs-labs goshs 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
goshs-labs goshs是goshs-labs组织的一个Web服务器软件。 goshs-labs goshs 2.1.0之前版本存在竞争条件问题漏洞,该漏洞源于ShareHandler在读取和更新下载计数时存在竞争条件问题,可能导致并发请求绕过下载限制,超出预期上限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
patrickhener goshs < 2.1.0 -

II. Public POCs for CVE-2026-50139

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50139

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-50139 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-50139

No comments yet


Leave a comment