๐Ÿ” CVE Alert

CVE-2026-48154

MEDIUM 5.9

GoRest: InMemorySecret2FA race condition allows process crash via concurrent map access

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

GoRest is a Golang starter kit built with the Gin framework for prototyping and developing RESTful APIs. In versions prior to 1.12.2 nMemorySecret2FA contains a race condition due to an unsynchronized package-level map used to store 2FA secrets. Multiple HTTP handlers in handler/login.go and handler/twoFA.go read from and write to this map concurrently, and because Go's runtime treats unsynchronized concurrent map access as an unrecoverable fatal error, an attacker can repeatedly trigger this condition to crash the process on demand. This results in high, repeatable availability impact with no confidentiality or integrity consequences. This issue has been fixed in version 1.12.2.

CWE CWE-362
Vendor pilinux
Product gorest
Published Aug 4, 2026
Stay Ahead of the Next One

Get instant alerts for pilinux gorest

Be the first to know when new medium vulnerabilities affecting pilinux gorest are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

pilinux / gorest
< 1.12.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/pilinux/gorest/security/advisories/GHSA-cpwg-x64r-rgwg github.com: https://github.com/pilinux/gorest/pull/391 github.com: https://github.com/pilinux/gorest/commit/117ff55fc21b47442da07c44c30b403af2da407b