PT-2026-55218 · Goshs · Goshs
CVE-2026-50139
·
Published
2026-07-01
·
Updated
2026-08-18
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
goshs versions prior to 2.0.10
Description
A race condition exists in the
ShareHandler when processing share-link redemptions. The system reads the DownloadLimit of a share token using a read lock, releases it to serve the file, and only then re-acquires a write lock to increment the download counter. This allows multiple concurrent requests to read the same limit snapshot and pass the check simultaneously, enabling users to exceed the intended download cap. This issue is triggered via the ?token= parameter in the share-link endpoint.Recommendations
Update to a version newer than 2.0.9.
As a temporary mitigation, avoid using the
DownloadLimit feature for highly sensitive one-shot secrets until the software is updated.Exploit
Fix
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Goshs