CVE-2026-50139
Last modified
CVE-2026-50139 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| patrickhener | goshs | < 2.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50139?
How severe is CVE-2026-50139?
How do I fix CVE-2026-50139?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50133Hugo is a static site generator. Prior to 0.162.0, Hugo acce…6.1
- CVE-2026-50134Hugo is a static site generator. From 0.91.0 until 0.162.0, …5.8
- CVE-2026-50135Hugo is a static site generator. From 0.123.0 to 0.161.1, a …5.5
- CVE-2026-50136Budibase is an open-source low-code platform. Prior to 3.39.…5.3
- CVE-2026-50137Budibase is an open-source low-code platform. Prior to 3.39.…9.4
- CVE-2026-50138goshs is a SimpleHTTPServer written in Go. Prior to version …8.1
- CVE-2026-5014A vulnerability was found in elecV2 elecV2P up to 3.8.3. The…5.5
- CVE-2026-50141Woodpecker is a CI/CD engine. Starting in version 3.0.0 and …7.1
- CVE-2026-50142libheif is a HEIF and AVIF file format decoder and encoder. …7.5
- CVE-2026-50143The Apify MCP server enables AI agents to extract data from …8.1
- CVE-2026-50144ncnn is a high-performance neural network inference framewor…7.1
- CVE-2026-50146Astro is a web framework. Prior to 6.3.3, when a component u…6.1
Are you affected by CVE-2026-50139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
