Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-48154— GoRest: InMemorySecret2FA race condition allows process crash via concurrent map access

Quick assessment

Affected
pilinux gorest
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

mahir gorest是mahir个人开发者开源的一款基于Go语言的RESTful API框架。 mahir gorest 1.12.2之前版本存在竞争条件问题漏洞,该漏洞源于nMemorySecret2FA中的竞争条件,由于未同步的包级映射存储2FA密钥,多个HTTP处理程序并发读写该映射,攻击者可反复触发导致进程崩溃,造成高可用性影响。

CVSS 5.9 · Medium EPSS 0.40% · P32

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
pilinux gorest < 1.12.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48154

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GoRest: InMemorySecret2FA race condition allows process crash via concurrent map access
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
Source: CVE Program / CVE List V5
Vulnerability Title
mahir gorest 竞争条件问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mahir gorest是mahir个人开发者开源的一款基于Go语言的RESTful API框架。 mahir gorest 1.12.2之前版本存在竞争条件问题漏洞,该漏洞源于nMemorySecret2FA中的竞争条件,由于未同步的包级映射存储2FA密钥,多个HTTP处理程序并发读写该映射,攻击者可反复触发导致进程崩溃,造成高可用性影响。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pilinux gorest < 1.12.2 -

II. Public POCs for CVE-2026-48154

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48154

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-48154 (2)

Vendor Advisories for CVE-2026-48154 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48154

No comments yet


Leave a comment