CVE Catalog

CVE-2026-48154

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.40%

33th percentile - higher than 33% of all known CVEs

Summary

GoRest is a Golang starter kit built with the Gin framework. 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 concurrently read and write to this map, 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.

Risk Assessment

An attacker can repeatedly crash the process, leading to high, repeatable availability impact. There is no confidentiality or integrity impact.

Recommendation

Upgrade GoRest to version 1.12.2 or later, which fixes the race condition.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS