Live threats

All CVEs / pilinux

CVE-2026-48154pilinux gorest

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Aug 4, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for gorest.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/pilinux/gorest < 1.12.2 1.12.2 go get github.com/pilinux/gorest@v1.12.2
Go github.com/pilinux/gorest < 1.12.2 1.12.2 go get github.com/pilinux/gorest@v1.12.2

Per OSV / GitHub Advisories (GHSA-cpwg-x64r-rgwg, GO-2026-5330). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.