Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-48154: CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in pilinux gorest

0
Medium
VulnerabilityCVE-2026-48154cvecve-2026-48154cwe-362
Published: 08/04/2026 (08/04/2026, 19:45:51 UTC)
Source: CVE Database V5
Vendor/Project: pilinux
Product: gorest

Description

CVE-2026-48154 is a race condition vulnerability in pilinux gorest versions prior to 1.12.2. The issue arises from an unsynchronized package-level map used to store 2FA secrets, which is accessed concurrently by multiple HTTP handlers. This can cause the Go runtime to crash the process due to unsynchronized concurrent map access. The impact is a high availability disruption without confidentiality or integrity loss. The vulnerability has been fixed in version 1.12.2.

CVSS v3.1

Score 5.9medium

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

Affected software

github.com/pilinux/gorest
pkg:golang/github.com/pilinux/gorest
Affected versions
<1.12.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 20:28:02 UTC

Technical Analysis

pilinux gorest, a Golang RESTful API starter kit, contains a race condition in versions before 1.12.2 in the nMemorySecret2FA component. This component uses a package-level map to store two-factor authentication secrets without synchronization. Multiple HTTP handlers concurrently read and write to this map, causing unsynchronized concurrent map access. Go's runtime treats such unsynchronized concurrent map access as a fatal error, leading to process crashes. This vulnerability results in repeatable denial of service due to process crashes but does not affect confidentiality or integrity. The issue is resolved in gorest version 1.12.2.

Potential Impact

The vulnerability allows an attacker to repeatedly trigger a race condition that crashes the gorest process, causing a denial of service and impacting availability. There are no confidentiality or integrity impacts reported.

Mitigation Recommendations

This vulnerability has been fixed in gorest version 1.12.2. Users should upgrade to version 1.12.2 or later to remediate this issue. No other mitigation is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-20T23:12:43.031Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a724791bf8831d5396138da

Added to database: 08/04/2026, 20:12:01 UTC

Last enriched: 08/04/2026, 20:28:02 UTC

Last updated: 08/04/2026, 20:29:32 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses