Executive Summary

In November 2026, an attacker exploited a remote code execution vulnerability in SGLang, an open-source AI inference engine, to compromise one of NEAR AI's inference servers. The breach occurred on a Sunday and allowed the attacker to observe requests processed on that server—including those submitted in confidential mode inside a trusted execution environment (TEE)—because SGLang itself ran within the TEE boundary. The attacker subsequently pivoted to an internal system tied to the deprecated Private Chat product, exfiltrating account details (email addresses, names, plan and balance data) for approximately 100 users, and accessed 18 AI agents on a legacy deployment, stealing chat history, settings, logs, and two API keys.

This incident underscores a rapidly maturing threat vector: AI and ML inference infrastructure is increasingly being targeted through supply-chain and open-source component vulnerabilities. As enterprises accelerate AI adoption, unpatched inference engines, poorly segmented agent deployments, and TEE misconceptions create exploitable gaps that traditional perimeter security does not address.

Why This Matters Now

AI inference engines like SGLang are now critical production infrastructure, yet they frequently lack the patch cadence, network segmentation, and runtime monitoring applied to conventional workloads. With agentic AI deployments proliferating across cloud environments in 2026, a single unpatched RCE in an inference layer can expose multi-tenant agent data, API credentials, and sensitive user interactions at scale—making AI/ML infrastructure a high-priority target for adversaries.

Attack Path Analysis

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

The TEE protects data from the host operator but cannot defend against vulnerabilities in software running inside it. Because SGLang executed within the TEE, the RCE flaw gave the attacker direct access to in-flight requests, including those submitted in confidential mode.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.

Aviatrix Zero Trust CNSF is directly relevant to this incident because the attacker's ability to move from a compromised TEE-hosted inference server into unrelated legacy internal systems reveals a fundamental absence of workload-level segmentation and east-west enforcement. Had identity-aware segmentation and controlled egress policies been in place, the attacker's reachability across inference, Private Chat, and agent infrastructure would likely have been significantly constrained, reducing the overall blast radius of the breach.

Initial Compromise

Control: Cloud Native Security Fabric (CNSF)

Mitigation: A Zero Trust fabric applied at the workload perimeter could limit the network-accessible attack surface of the SGLang inference server, reducing the number of reachable endpoints and protocols exposed to potential exploit traffic, which may have constrained the conditions under which the RCE vulnerability was reachable in the first place.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Zero Trust segmentation enforcing least-privilege, identity-scoped access policies could limit how far harvested service credentials or tokens would actually reach within the broader environment, reducing the scope of internal resources accessible even if the attacker successfully extracted identity material from the compromised runtime.

Lateral Movement

Control: East-West Traffic Security

Mitigation: East-west traffic enforcement would likely have constrained the attacker's ability to reach the Private Chat backend and the non-TEE agents deployment from the compromised inference server, since those communication paths would need to be explicitly permitted rather than implicitly available across the internal network.

Command & Control

Control: Multicloud Visibility & Control

Mitigation: Centralized multicloud visibility and traffic monitoring could make the attacker's sustained internal enumeration and API activity more likely to surface as anomalous east-west flows, potentially reducing dwell time by giving security teams earlier signals that unusual internal communication patterns were occurring across the inference and legacy service boundaries.

Exfiltration

Control: Egress Security & Policy Enforcement

Mitigation: Controlled egress policy enforcement could limit the outbound data paths available from compromised internal workloads, reducing the likelihood that large volumes of user records and agent data could be transferred out of the environment without matching an explicitly permitted egress flow, potentially constraining the attacker's ability to exfiltrate data at the observed scale.

Impact (Mitigations)

Had segmentation and egress controls reduced the attacker's lateral reach and outbound data paths earlier in the attack chain, the residual impact would likely have been confined to the initially compromised inference server rather than spreading to legacy user data stores and agent deployments, meaningfully reducing the number of affected users and the volume of extracted credentials and operational data.

Impact at a Glance

Affected Business Functions

  • AI Inference API Services (NEAR AI Cloud)
  • Private Chat User Data and Conversation Storage
  • AI Agent Orchestration and Deployment
  • Trusted Execution Environment (TEE) Confidential Compute
Operational Disruption

Estimated downtime: 2 days

Financial Impact

Estimated loss: N/A

Data Exposure

Personally identifiable information (PII) including email addresses and full names for approximately 100 users of the deprecated Private Chat product; account plan and balance details for a subset of those users; chat history, configuration settings, and operational logs for 18 AI agents hosted on a non-TEE deployment of NEAR AI Agents; two NEAR AI Cloud API keys exposed in agent logs (both revoked); inference request content including confidential-mode requests processed through the compromised server on the day of the attack, potentially including third-party user prompts routed through Brave browser's Leo AI assistant integration with NEAR AI.

Recommended Actions

  • • Deploy Cloud Native Security Fabric (CNSF) inline enforcement and real-time inspection around AI/ML inference workloads, including those inside TEEs, to detect and block exploit traffic patterns associated with RCE attempts against frameworks like SGLang before code execution occurs.
  • • Enforce Zero Trust Segmentation and East-West Traffic Security controls to microsegment inference servers from internal legacy systems and agent deployments so that a compromised inference node cannot pivot to unrelated internal services without identity-based policy approval.
  • • Implement Egress Security and Policy Enforcement with FQDN filtering and data loss prevention on all outbound paths from AI inference and agent infrastructure to block unauthorized exfiltration of user account data, agent logs, and API credentials to unknown destinations.
  • • Apply Multicloud Visibility and Control to establish behavioral baselines for inference server traffic and agent API interactions, enabling anomaly detection that flags unusual data access volumes, cross-service API calls, or bulk account enumeration consistent with post-exploitation activity.
  • • Enforce Inline IPS (Suricata) signature-based detection on traffic entering and leaving SGLang and agent deployment endpoints to identify known exploit payloads and malicious request patterns, complemented by immediate CVE-based signature updates whenever new RCE vulnerabilities are disclosed in open-source AI inference engines.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image