> CVE-2026-50139 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-18 15:16
MODIFIED
2026-08-18 15:16
CVSS_SCORE V3
5.9
EPSS (Prob. Exploit)
0.26%
Top 83.8%
DATA SOURCES:
NVD đź”— 2026-08-18 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-29 OSV đź”— 2026-10-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
2.2
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-362

> CWE DETAILED DESCRIPTIONS

CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') - The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

> GITHUB SECURITY ADVISORY

GHSA-j48m-h7xq-2xpj MODERATE

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

AFFECTED PACKAGES:
GO / goshs.de/goshs/v2
<= 2.0.9
Fixed in: 2.1.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
57 versions affected
ALIASES:
GHSA-j48m-h7xq-2xpj, GO-2026-5881

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/08/2026 15:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') - The product contains a concurrent code sequence that requires temporary, exclusive access to a sh...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/goshs-labs/goshs/security/advisories/GHSA-j48m-h7xq-2xpj
« BACK_TO_HOME