CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-55784

CVE-2026-55784: Concurrent Request Context Overwrite in free5GC AUSF

Alon Barad
Alon Barad
Software Engineer

Aug 29, 2026·6 min read·31 visits

Executive Summary (TL;DR)

A critical concurrency vulnerability (CWE-362) in free5GC AUSF allows unauthenticated network attackers to cause a denial of service (DoS) for targeted subscribers by sending concurrent authentication requests that overwrite active cryptographic session contexts.

A concurrency synchronization flaw (race condition) exists in the Authentication Server Function (AUSF) of the free5GC 5G core network implementation. In versions 1.4.4 and earlier, authentication contexts are stored in a global sync.Map keyed solely by the Subscriber Permanent Identifier (SUPI). If multiple concurrent authentication requests are received for the same SUPI, the active security parameters (such as keys and expected responses) are unconditionally overwritten, resulting in authentication failures for the legitimate user.

Vulnerability Overview

The free5GC system is an open-source implementation of the 5G Core Network, written in Go. Inside a standard 5G architecture, the Authentication Server Function (AUSF) plays a critical role in verifying subscriber identity during network access. The AUSF communicates with other core network elements, such as the Access and Mobility Management Function (AMF), via the Service-Based Interface (SBI) or the N12 reference point.

The vulnerability in free5GC versions 1.4.4 and earlier resides in how the AUSF manages transient subscriber state during the EAP-AKA' or 5G-AKA authentication process. To track ongoing authentication handshakes, the component instantiates a session context. This context contains critical cryptographic variables required to validate subsequent challenge responses.

The attack surface is exposed through the /nausf-auth/v1/ue-authentications HTTP endpoint, which handles initial authentication requests. Because this interface lacks validation rules regarding concurrent registration sessions for the same user, it exposes the system to concurrency anomalies. An attacker with access to the internal network can disrupt target subscribers by interacting with this endpoint.

Root Cause Analysis

The root cause of the vulnerability is an improper synchronization mechanism on a shared map. The Go runtime implements a concurrent-safe map container named sync.Map. While Go guarantees memory-level safety under concurrent operations (preventing program panic or map corruption), it does not enforce logical or semantic transaction isolation.

The AUSF context structure represents active authentication handshakes within a global sync.Map named AUSFContext.UePool. This map uses the Subscriber Permanent Identifier (SUPI) as its direct lookup key. When a new initial authentication request is received, the code unconditionally stores the state with UePool.Store(ausfUeContext.Supi, ausfUeContext).

This design creates a severe semantic race condition when multiple requests are initiated concurrently for the same SUPI. If Request B is executed before Request A completes its authentication handshake, the state context for Request B overwrites Request A's context in the map. Consequently, any responses corresponding to Request A are evaluated using the security context of Request B, causing cryptographic validation failures.

Code Analysis

To understand the vulnerability mechanics, examine the execution path in internal/sbi/processor/ue_authentication.go. When a client makes an HTTP POST request to initiate authentication, the handler processes the incoming payload and extracts the SUPI. It then initializes a session context and stores it in the global map without verifying if a session is already active.

Below is the conceptual representation of the vulnerable context-handling implementation:

// In internal/context/context.go
type AUSFContext struct {
    UePool sync.Map // Key: SUPI (string), Value: *AusfUeContext
}
 
// In internal/sbi/processor/ue_authentication.go
func AddAusfUeContextToPool(ausfUeContext *context.AusfUeContext) {
    ausfContext := context.GetSelf()
    // Unconditional overwrite of the subscriber's context based solely on SUPI
    ausfContext.UePool.Store(ausfUeContext.Supi, ausfUeContext)
}

A robust mitigation requires refactoring the storage mechanism to support a multi-part key or generating a random UUID for each unique authentication transaction. The updated logic must verify that incoming authentication responses map directly to their corresponding challenge-response pairs rather than lookup coordinates based only on the user's permanent identifier:

// Remediated conceptual approach
type AUSFContext struct {
    // Key is a combination of SUPI and TransactionID to avoid collision
    UePool sync.Map 
}
 
func AddAusfUeContextToPool(txID string, ausfUeContext *context.AusfUeContext) {
    ausfContext := context.GetSelf()
    compositeKey := fmt.Sprintf("%s-%s", ausfUeContext.Supi, txID)
    ausfContext.UePool.Store(compositeKey, ausfUeContext)
}

Without a unique session identifier tracking the individual transaction lifecycle, concurrent requests will always collide. Incorporating unique identifiers ensures that each authentication workflow remains completely isolated, neutralizing the overwrite path.

Exploitation Methodology

Exploiting this vulnerability does not require complex state manipulation or target synchronization. The attacker must possess network visibility and access to the Service-Based Interface of the AUSF, typically via an internal network compromise. The attacker initiates the exploit by targeting a known subscriber's SUPI.

The attack begins by issuing a continuous stream of concurrent HTTP POST requests to /nausf-auth/v1/ue-authentications. This process continually replaces the active context mapping on the AUSF side. As a result, the transient variables K_aut, XRES, and EapID are constantly updated with newly generated challenge vectors.

When the legitimate User Equipment (UE) receives its initial challenge and responds with its cryptographic credentials, the verification routine queries UePool using the SUPI. Because of the flood, the map returns the state associated with the attacker's latest request rather than the original context. The verification step detects a mismatch in AT_MAC or RES* values, causing authentication to fail.

Impact Assessment

The direct consequence of this vulnerability is a targeted Denial of Service (DoS) affecting the availability of individual subscribers on the 5G network. By repeatedly flooding the AUSF with concurrent requests for a target SUPI, an attacker can persistently deny network registration to that subscriber. The affected subscriber cannot establish a connection, send traffic, or receive services.

While the vulnerability results in a high availability impact, it does not lead to a breach of data confidentiality or integrity. The attacker cannot obtain the legitimate user's cryptographic keys or impersonate the target subscriber, because the cryptographic validation itself functions correctly and rejects the mismatched credentials.

The CVSS v3.1 score is evaluated at 7.5, reflecting a High severity profile. The low attack complexity and absence of prerequisite privileges make the vulnerability straightforward to exploit once network access is achieved. However, the requirement for network access to the internal 5G core network control plane acts as an operational barrier in production environments.

Remediation & Mitigation Guidance

As of the time of this publication, no official patched release of free5GC completely addresses this issue. Organizations running free5GC in development or testing environments must implement operational workarounds to secure their deployments. The most immediate mitigation is to enforce strong isolation around the control plane.

Implement network segmentation policies to restrict access to the AUSF Service-Based Interface. Ensure that only designated, authenticated AMF instances can connect to the /nausf-auth/v1/ue-authentications API endpoint. Mutual TLS (mTLS) must be enforced with client certificate verification to block unauthorized network entities from injecting requests.

Additionally, deploying rate limiting on the SBI gateway or internal reverse proxies can mitigate concurrent request floods. Setting strict limits on the number of authentication requests per SUPI per second prevents attackers from successfully maintaining the race condition state.

Official Patches

free5gcAdvisory and issue tracker for the concurrent context overwrite vulnerability.

Technical Appendix

CVSS Score
7.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Systems

free5GC AUSF

Affected Versions Detail

Product
Affected Versions
Fixed Version
free5GC
free5gc
<= 1.4.4Not patched
AttributeDetail
CWE IDCWE-362
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
ImpactAvailability (High)
Exploit StatusNone / Concept Only

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

The program runs concurrent threads/routines that share resources without adequate logical separation or synchronization boundaries, leading to inconsistent state or unexpected behavior.

References & Sources

  • [1]GitHub Security Advisory GHSA-334q-h5g3-fpxv
  • [2]CVE.org Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•34 minutes ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 2 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 3 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 4 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 5 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 6 hours ago•CVE-2026-128084
4.8

CVE-2026-128084: Integer Truncation and SQL Query Truncation in sqlite3-ruby

Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.

Alon Barad
Alon Barad
5 views•11 min read