ADVISORIES

Vulnerability

CVE-2026-48154

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.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 1

Advisories

  • GHSA-cpwg-x64r-rgwg

    gorest InMemorySecret2FA race condition allows process crash via concurrent map access (CWE-362)

    Moderate CVE-2026-48154 Go Updated 25 June 2026
  • GO-2026-5330

    gorest InMemorySecret2FA race condition allows process crash via concurrent map access (CWE-362) in github.com/pilinux/gorest

    CVE-2026-48154 Go Updated 25 June 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References