Skip to content

Understanding implicit trust errors in operator core networks through multi-agent defect discovery and analysisUnderstanding Implicit Trust Errors in Core Carrier Networks through Multi-Agent Flaw Discovery and Analysis

arXiv· arXiv:2607.10315· USENIX Security 2026· Ziyu Lin, Ziting Wang, Xinfeng Li, Wei Dong, XiaoFeng WangNanyang Technological UniversityIndexed by this site · 24 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose the multi-agent system iFinder to detect implicit trust errors (iTrue) in cellular core networks, discovering 84 unknown vulnerabilities across 7 open-source core network implementations, 81 of which have been assigned CVEs.

Threat modelThe attacker can obtain the IP addresses of core network components, in two categories: the Internet attacker is located outside the core network and does not control any component, but can construct arbitrary PFCP/GTP-C messages (e.g., cloud-native deployment misconfigurations exposing internal interfaces); the Malicious UE holds a legitimate USIM, completes registration, and then encapsulates constructed PFCP/GTP-C payloads into GTP-U uplink traffic to cross the boundary. The goals are DoS and session hijacking.

Questions
The internal interfaces of cellular core networks have long relied on the implicit trust of physical isolation; cloud-native deployment makes these interfaces reachable by external attackers, and vulnerabilities caused by blind trust between components (which the authors call iTrue) lack systematic study.
Methods
The authors performed root cause analysis on GitHub issues to summarize detection patterns and built the multi-agent system iFinder: the Discovery Agent performs LLM reverse analysis, the Vetting Agent uses code-specification cross-checking to filter false positives, and the Exploitation Agent generates and iteratively improves PoCs to confirm vulnerabilities.
Experiments and results
F1 of 71.429% on 22 known vulnerabilities (baseline 31.769%); 84 unknown vulnerabilities discovered across 7 open-source core network implementations, 83 confirmed and 81 assigned CVEs; the session hijacking vulnerability was reproduced on two commercial 5G core networks.
Limitations and future work
The authors note that the Discovery Agent is limited by the seed pattern set, so vulnerabilities that do not match the patterns may be missed; the LLM may still misjudge feasibility when subtle specification semantics are involved. The experiments cover only the PFCP and GTP-C protocols and 7 open-source implementations, and only 2 commercial core networks were tested.
Experimental setup22 个 GitHub 安全 issue 构成的 ground-truth 数据集(Open5GS、free5GC)、Open5GS 5G et al. · Precision、Recall et al.
Benchmarks
22 个 GitHub 安全 issue 构成的 ground-truth 数据集(Open5GS、free5GC)Open5GS 5Gfree5GCOAI 5GSD-CoreeUPFOpen5GS LTEOAI LTE两个商用 5G 核心网
Metrics
PrecisionRecallF1TP/FP/FNPoC 生成成功数运行时间与 token 消耗
AI summaryResearchers discovered 84 previously unknown vulnerabilities in 7 open-source cellular core network implementations, of which 83 have been confirmed and 81 have been assigned CVEs, and named this class of defects, which stems from blind trust between components, implicit trust errors (iTrue). The paper points out that core network security models have long relied on physical isolation; cloud-native deployment makes internal interfaces reachable by external attackers, and when components lack syntax validation, semantic invariants, or resource availability checks, this can lead to serious consequences such as denial of service and session hijacking. The team designed iFinder, an LLM-driven multi-agent system that extracts detection patterns from defects already reported on GitHub, cross-checks 3GPP specifications against core network code to suppress LLM hallucination, and then uses the LLM to generate proof-of-concept (PoC) exploit code and iteratively improve it through automated execution. One of the session hijacking defects has been confirmed on a real commercial 5G core network.

Researchers discovered 84 previously unknown vulnerabilities in 7 open-source cellular core network implementations, of which 83 have been confirmed and 81 have been assigned CVEs, and named this class of defects, which stems from blind trust between components, implicit trust errors (iTrue). The paper points out that core network security models have long relied on physical isolation; cloud-native deployment makes internal interfaces reachable by external attackers, and when components lack syntax validation, semantic invariants, or resource availability checks, this can lead to serious consequences such as denial of service and session hijacking. The team designed iFinder, an LLM-driven multi-agent system that extracts detection patterns from defects already reported on GitHub, cross-checks 3GPP specifications against core network code to suppress LLM hallucination, and then uses the LLM to generate proof-of-concept (PoC) exploit code and iteratively improve it through automated execution. One of the session hijacking defects has been confirmed on a real commercial 5G core network.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Vulnerabilities caused by blind trust between core network components (iTrue) can be reached externally under cloud-native deployment, and there is a lack of systematic discovery methods.

    Core problem: implicit trust errors (iTrue) are widespread among internal components of cellular core networks (CN) but lack systematic study, while cloud-native deployment is exposing these internal interfaces to external attackers.

    • Problem scenario: the CN security model has historically relied on physical isolation, and internal interfaces often lack strong encryption or mutual authentication; after the migration to cloud-native, the security boundary disappears, and the authors state that attackers can reach internal interfaces through cloud misconfigurations or by abusing GTP-U tunnels.
    • Insufficient existing methods: the authors state that prior work mostly focused on interactions between UE and CN (NAS) or between base stations and CN (NGAP, GTP-U), and that the security risks of communication between internal CN components lack systematic study; fuzzing struggles to reach protocol states requiring multiple rounds of message exchange, and static analysis produces false positives or false negatives on asynchronous handlers and shared session contexts.
    • Core observation: the authors performed root cause analysis on 22 GitHub security issues in Open5GS and free5GC and found that all can be classified into three categories: missing syntax validation, missing semantic validation, and unchecked resource availability, collectively termed iTrue.
    • Paper proposal: the LLM-driven multi-agent system iFinder distills known defects into detection patterns and combines code-specification cross-checking with automatic PoC generation to discover new iTrue.
    • Threat model (§2.4):
      • Goal: disrupt cellular network services, causing DoS and session hijacking.
      • Knowledge: the attacker can obtain the IP addresses of core network components (from public documentation, passive enumeration, or active scanning).
      • Capability (Internet attacker): located outside the core network, does not control any component, but can construct and send arbitrary PFCP or GTP-C messages (e.g., when cloud misconfigurations expose internal interfaces).
      • Capability (Malicious UE): after a commercial phone with a legitimate USIM completes registration, it encapsulates constructed PFCP/GTP-C payloads into GTP-U uplink traffic, delivering them to core network components via protocol tunneling and network boundary bridging; the authors state that these two paths were confirmed feasible on 5 of the 7 open-source implementations tested.
  2. What related research exists?

    Related work covers four categories: cellular network security, automated vulnerability discovery, multi-agent vulnerability mining, and input validation; the authors state that this paper focuses on the neglected internal interfaces of the core network.

    Cellular network security

    • UE/RAN-side research: baseband vulnerabilities [35–37], lower-layer attacks [38, 39], eavesdropping [40], privacy violations [41], and protocol compliance testing [6, 28, 42–44]. The authors note that these works mainly target the air interface or NAS/RRC signaling between the UE and the core network, while the core network's internal interfaces remain relatively unexplored.
    • Core network security: formal verification of access control mechanisms [18, 45], provenance-based attack detection [46], LTE core network context integrity testing [1], GTP-U tunnel abuse [4, 33] (demonstrating that external attackers can reach internal CN interfaces).

    Automated vulnerability discovery in cellular networks

    • Fuzzing: from UE-RAN-side testing [5, 28, 43] to core network fuzzing (5GC-Fuzz [7], CoreCrisis [8], Ransacked [9], etc.). The authors note that these methods mainly find memory-safety bugs and crash-type issues, whereas many high-impact core network failures are logic vulnerabilities that do not manifest as crashes.
    • Specification-based analysis: mining vulnerabilities from 3GPP documents via NLP [48], change request analysis [49], automated reasoning [50], undefined behavior research [51], and protocol state machine synthesis [52–54]. The authors note that these methods target design flaws at the specification level and cannot automatically verify whether a problem is exploitable in real implementations.

    Multi-agent vulnerability discovery

    • LLM-enhanced static analysis: e.g., improving CodeQL efficiency [55], customizing CodeQL for JavaScript vulnerability detection [56].
    • General-purpose multi-agent pipelines: bug discovery for general programs [57, 58]. The authors note that these systems are not tailored to stateful protocols, perform poorly on 5G core networks, and only report candidate vulnerabilities without confirming exploitability.

    Input validation and specification-driven testing

    • The authors relate some iTrue to input validation vulnerabilities (XSS [59], SQL injection [60], prompt injection [61]), but note that many iTrue are triggered by inputs that are well-formed but appear in the wrong system state, which does not fall under input validation; model-driven testing [62] mainly targets design flaws, and stateful protocol testing [63] and stateful network fuzzing [26] rely on crash signals, making it difficult to capture logic flaws that do not crash.

    Baselines and benchmark: the comparison baseline for detection effectiveness is the prompt-only method (directly prompting the LLM, but feeding it patterns summarized by the authors), and the benchmark is a ground-truth dataset consisting of 22 GitHub security issues (§5.1).

    Positioning: the authors state that this paper is complementary to the above work—it systematically studies PFCP and GTP-C implementation vulnerabilities, characterizes iTrue as a recurring defect type, and closes the loop with code-specification cross-checking and runtime-verified PoC generation.

  3. How does the paper address this problem?

    iFinder uses three LLM agents: reverse analysis to find candidates, code-specification cross-checking to filter false positives, and generating and iteratively improving PoCs to confirm vulnerabilities.

    Overall approach: first distill protocol-agnostic, language-agnostic detection patterns from known defects, then have iFinder's three agents (Discovery, Vetting, Exploitation) successively perform candidate discovery, false-positive filtering, and exploit confirmation. All agents are LLM sessions based on the Claude Agent SDK, working through task prompts and tool calls (Grep, Glob, Read, build/execute), and agents pass information to each other through intermediate artifacts such as detection patterns, candidate reports, feasible candidate reports, and prerequisite messages (Figure 3).

    Root cause analysis and pattern distillation (§3, §4.2)

    • Root cause analysis: Claude Code was used to extract three elements from 22 security issues in Open5GS and free5GC—trigger message (trigger), location where the risk manifests (failure point), and underlying flaw (flaw)—which were then clustered by an LLM into three categories: missing syntax validation (12), missing semantic validation (8), and unchecked resource availability (2).
    • Detection patterns: each pattern is represented as a triple <element, dangerous operation, missing validation>, for example <mandatory IE, direct dereference, missing presence> (Figure 4); a total of 6 iTrue patterns were summarized. Patterns were reviewed by domain experts and regenerated with feedback when necessary.
    • Specification knowledge extraction: prompts were used to extract protocol procedures and message schemas from 3GPP specifications for downstream agents to reason about protocol execution.

    Discovery Agent: LLM reverse analysis (§4.3)

    • Locate dangerous IE uses: first ground the abstract operations in the patterns (e.g., "memory operation") into concrete language constructs, locate matching points in the code, and determine which IE field is used as an argument to the dangerous operation.
    • Construct the execution path: use Grep to find candidate callers, Glob to locate source files, and Read to inspect code, iteratively extending backward along the call chain until reaching the protocol message handler. The authors state that AST-based call graph construction is less effective than the simple Grep approach.
    • Check for the existence of validation: check three types of validation according to the pattern—protocol syntax validation, protocol semantic validation, and resource availability validation; if the required validation is not found before the dangerous operation, it is marked as an iTrue candidate.

    Vetting Agent: code-specification cross-checking (§4.4)

    • Locate the specification procedure: map the trigger message involved in the candidate to the 3GPP procedure extracted in the preprocessing stage, and enumerate all messages in that procedure that precede the trigger message as "anchors".
    • Map to code: search the codebase for the handlers of these preceding messages by message name, extending the analysis context from the flagged snippet to the complete procedure.
    • Re-evaluate: in the extended context, check whether the preceding message handlers already implement the relevant validation, in order to filter false positives caused by "validation being performed in an earlier state" (Figure 5 gives an example).

    Exploitation Agent: PoC generation and feedback-driven improvement (§4.5)

    • Derive the attack vector: determine the IE fields to manipulate and the content required to trigger the target vulnerability, construct protocol-compliant message instances according to the message schema, and generate an initial PoC from these.
    • Pre-execution checks: compile the PoC for syntax checking, and verify that the message type, field values, and message sequence are consistent with the attack vector.
    • Execute-analyze-improve loop: execute the PoC in a containerized testbed and analyze runtime logs; if not triggered, diagnose the failure cause, improve the PoC, and retry until the vulnerability is triggered or the test budget is exhausted (the improvement iteration limit per vulnerability is 5, §5.1).

    Success determination

    • Detection determination: a report that correctly identifies a ground-truth vulnerability counts as a TP; when a PoC triggers another real vulnerability on the execution path before the target defect, it is counted as an FP after manual comparison of the crash location with the expected location (§5.3).
    • PoC determination: a PoC is considered successful if it triggers the expected behavior (e.g., a crash or an observable state change).
  4. What experiments did the paper conduct?

    F1 reaches 71.429% on 22 known vulnerabilities (baseline 31.769%), and 84 unknown vulnerabilities were discovered across 7 open-source implementations, 81 of which received CVEs.

    Experimental setup

    • Targets: detection experiments were conducted on Open5GS (v2.7.5, v2.7.2, v2.4.14) and free5GC (v3.3.0, v2.0.2); new vulnerability discovery covers 7 open-source implementations: Open5GS 5G, free5GC, OAI 5G, SD-Core, eUPF, Open5GS LTE, OAI LTE (three languages C, C++, Go, covering 4G/5G). Some vulnerabilities were additionally verified on two commercial 5G core networks.
    • Dataset: 22 ground-truth vulnerabilities from Open5GS and free5GC GitHub security issues, distributed as Malformed Field (11), Absent Field (1), Invalid Value (6), Invalid State (1), Invalid Reference (1), Resource Exhaustion (2).
    • Baseline: prompt-only baseline—directly prompting the LLM but feeding it the patterns summarized by the authors; the authors state that direct questioning without patterns produces severe hallucination and no usable results.
    • Metrics: TP/FP/FN, Precision, Recall, F1; PoC generation is counted as successful based on whether it triggers the expected behavior.
    • Implementation and repetition: all methods (including the baseline) use Claude Opus 4.5 as the underlying LLM with default configuration, with an improvement iteration limit of 5; all experiments were repeated 5 times and averaged.
    • Review method: whether a PoC triggers the expected vulnerability is checked manually—comparing the actual crash location in runtime logs with the expected crash location identified by DA/VA (§5.3).

    Main results

    According to Table 1 (detection performance on 22 ground-truth vulnerabilities):

    Swipe horizontally to read the table

    ConfigurationTPFPFNNew findingsPrecisionRecallF1
    Prompt-only856141428.205%36.364%31.769%
    iFinder151272175.000%68.182%71.429%
    • Authors' interpretation: iFinder's F1 is more than double the baseline's; of the 7 misses, 4 stem from pattern coverage gaps (corner-case validation logic not captured by the patterns) and 3 from DA being unable to reliably reconstruct the call chain on long cross-module execution paths.
    • The baseline still has some utility: the authors note that the baseline reaches 28.205% precision because it also uses the patterns summarized by the authors, indicating that the patterns themselves are useful for guiding the LLM to discover vulnerabilities.

    Ablation experiments (RQ2+RQ3, Table 2)

    • Code-specification cross-checking (VA): DA alone has 62 FPs and 36.735% precision; adding VA reduces FPs to 19 and raises precision to 65.455%, while Recall remains 68.182%.
    • Feedback-driven improvement (EA): giving the 22 ground-truth vulnerabilities to EA and the prompt-only baseline for PoC generation, EA succeeds on 19, the baseline on only 8. EA further reduces FPs from 19 to 12 (discarding candidates whose PoCs cannot trigger the target defect), and the full pipeline precision is 75.000%.
    • Causes of the remaining 12 FPs: the authors explain that a PoC may trigger another real vulnerability on the execution path before the target defect, and EA only checks whether the expected runtime effect (crash) occurs, not the crash location.

    New vulnerability discovery and distribution (§6, Table 4–6)

    • Overall: 84 unknown vulnerabilities were discovered across 7 implementations, 83 have been confirmed by developers, 81 have been assigned CVEs; Open5GS LTE accounts for 30 of them. As of the paper's response deadline, 58 have been fixed (Table 7).
    • Protocol distribution: GTP-C 37, PFCP 47; Absent Field is the most common (31/84, of which 25 are in PFCP); the authors state that each pattern family appears in both protocols, indicating that the vulnerabilities stem from shared implementation assumptions rather than protocol-specific semantics.
    • Component distribution: in 4G, SGW accounts for 32/37 of GTP-C vulnerabilities; in 5G, UPF accounts for 37/47 of PFCP vulnerabilities; the authors explain that these components maintain long-lived protocol state across multi-step procedures and manage scarce resources.

    Commercial core network verification and case studies (§6.2)

    • DoS case: the SGW-C in Open5GS LTE lacks syntax validation of the Bearer QoS IE in GTPv2-C Create Session Request messages, which can trigger an SGW-C crash end-to-end in the testbed (Figure 6).
    • Session hijacking case: the UPF in OAI 5G lacks uniqueness validation of PDR IDs in PFCP Session Modification Request messages, allowing an attacker to inject duplicate PDR IDs to hijack the victim UE's uplink traffic (Figure 7); the authors state that the same root cause was reproduced in the lab environments (default configuration) of two commercial 5G core networks, one has fixed it and it received CVE-2026-8233, and the other (a large 5G operator) is still fixing it.
    • Commercial DoS: two DoS vulnerabilities affect the same commercial 5G core network, one of which received CVE-2026-8232.

    Other ablations and analyses

    • Overhead (Table 3): average total time per target implementation is 710 seconds and total tokens 9.8M; Discovery accounts for 39.436% of runtime, Vetting 32.394%, and Exploitation varies with the number of iterations (limit 5).
    • Pattern distribution (Table 5): Invalid Value is more common in PFCP (8 vs 4), Invalid State is more common in GTP-C (7 vs 1); the authors suggest this may be related to the more complex GTP-C state machine.
  5. What are some points that can be further explored?

    The authors acknowledge two types of limitations: pattern coverage and LLM feasibility judgments; the experiments cover only PFCP/GTP-C and 7 open-source implementations.

    Limitations and future directions noted by the authors

    • Incomplete coverage (§7 Limitations of iFinder): iFinder does not guarantee coverage of all iTrue vulnerabilities; the Discovery Agent is limited by the seed pattern set, and vulnerabilities that do not match these patterns may be missed.
    • LLM feasibility judgments may still be wrong (§7): when exploitability depends on subtle specification semantics, implementation-specific state transitions, or implicit invariants that message structure cannot capture, the LLM may make incorrect feasibility judgments.
    • Future directions (§7): explore more implicit assumptions in core networks and introduce deeper system-level analysis to further reduce false positives and expand coverage.
    • Release plan (Abstract, §9): the authors plan to publicly release iFinder (the Abstract says publicly available, §9 says as a public service) to help improve cellular core network security.

    Experimental coverage

    • Protocols: new vulnerability discovery covers only two protocols, PFCP and GTP-C (Table 4).
    • Implementations tested: 7 open-source implementations (Open5GS 5G/LTE, free5GC, OAI 5G/LTE, SD-Core, eUPF); commercial core networks number 2, and only session hijacking and DoS vulnerabilities were verified in vendor lab environments (§6.2).
    • Detection evaluation scale: the ground-truth dataset contains 22 vulnerabilities with a heavy-tailed distribution (Malformed Field accounts for 11); all experiments were repeated 5 times and averaged (§5.1).
    • Attack path verification: the two paths, protocol tunneling and network boundary bridging, were confirmed feasible on 5 of the 7 open-source implementations (§2.4).
    • Information not reported: the paper does not report the specific number of communication rounds or timeline for confirming vulnerabilities with developers; commercial vendor identities are anonymized; exploit-level PoCs for the new vulnerabilities were not released (the Open Science section states this is to prevent abuse).
  6. Summarize the main content of the paper

    The authors propose the iTrue concept and the multi-agent system iFinder, discovering 84 unknown vulnerabilities across 7 open-source core network implementations, 81 of which received CVEs.

    A systematic study on the internal security of cellular core networks (CN): the authors name the recurring defects caused by CN components blindly trusting internal messages and skipping key validation implicit trust errors (iTrue), and build the LLM-driven multi-agent system iFinder to automatically discover such vulnerabilities.

    • Problem: the CN security model relies on physical isolation, and cloud-native deployment makes internal interfaces reachable by external attackers through cloud misconfigurations or GTP-U tunnels; the authors state that prior work lacked systematic study of the security risks of communication between internal CN components.
    • Method: 6 protocol-agnostic, language-agnostic detection patterns were distilled from 22 GitHub security issues in Open5GS and free5GC; the Discovery Agent performs LLM reverse analysis to locate candidates, the Vetting Agent uses code-specification cross-checking to extend the context to the complete protocol procedure to filter false positives, and the Exploitation Agent generates PoCs and iteratively improves them in a testbed (limit 5) to confirm vulnerabilities.
    • Detection performance: on 22 ground-truth vulnerabilities, iFinder achieves precision 75.000%, recall 68.182%, F1 71.429%, while the prompt-only baseline achieves 28.205%, 36.364%, and 31.769% respectively (Table 1); cross-checking reduces FPs from 62 to 19, and feedback-driven improvement raises the number of successful PoC generations from 8 in the baseline to 19 (Table 2, §5.3).
    • New findings: 84 unknown vulnerabilities were discovered across 7 open-source implementations (C/C++/Go, covering 4G/5G), 83 confirmed by developers, 81 assigned CVEs, and 58 fixed (Table 4, Table 7).
    • Real-world impact: one session hijacking vulnerability (UPF lacking uniqueness validation of PDR IDs) was reproduced in two commercial 5G core network lab environments, one vendor has fixed it and it received CVE-2026-8233; two other DoS vulnerabilities affect the same commercial core network (§6.2).
    • Authors' conclusion: the authors state that iTrue is a systematic weakness across protocols, languages, and 4G/5G rather than isolated bugs, requiring coordinated mitigation at three levels: specification (updating the threat model, mandating mutual authentication on internal interfaces), implementation (strict validation, bounded resource allocation), and deployment (zero trust, network segmentation); the authors plan to publicly release iFinder.
Read originalUSENIX Security 2026