Confidential computing is meant to let you send sensitive prompts to a model you don't host without trusting whoever runs the hardware. NEAR AI built its private inference service on that idea. This month an attacker got onto one of its inference servers anyway, through a flaw in the inference software running inside the enclave, and never had to break the enclave itself.

What Happened

On November 9, NEAR AI published its own incident report. An attacker exploited a remote code execution flaw in SGLang, the open-source engine that serves models on NEAR AI's servers. That gave them code execution on one inference server, and from there they moved into other internal systems. NEAR AI has not said which SGLang flaw was used.

By the company's account, the attacker downloaded account details (email, name and, for some accounts, plan and balance) for roughly 100 users from a system behind a deprecated chat feature. They also reached 18 agents on a legacy deployment that ran outside the trusted execution environment (TEE), retrieving their chat history, settings and logs. API keys belonging to two cloud customers had been written to logs, and NEAR AI revoked them. Requests passing through the compromised server on November 8, including ones sent in confidential mode, could have been seen. NEAR AI says it found no indication that they were, or that stored conversations or uploaded files were accessed.

NEAR AI revoked all sessions and admin credentials, replaced agent tokens, took the affected chat product offline, patched SGLang across its inference fleet, rotated the remaining credentials and reported the flaw to the SGLang maintainers. The company also said plainly what its TEE covers. Confidential computing keeps data away from the operator and the host machine. It does nothing about a vulnerability in the software running inside the protected environment.

The Cloud Security Alliance's research note on the incident adds context. A July CERT/CC vulnerability note described several SGLang flaws, including unauthenticated remote code execution, with no patched release available at the time. CSA is careful to say that no public source has tied NEAR AI's breach to any of those specific flaws.

Why this matters for AAISM™: Domain 3 of ISACA's published AAISM™ exam outline covers AI system architecture and the technical controls that protect models and data. Here the enclave was treated as the trust boundary, and the inference engine that the attacker exploited sat inside it. It also crosses into Domain 2, since anyone buying "confidential" AI inference from a vendor needs to know what that claim actually covers.

Four Control Lessons

Questions to Ask a Confidential AI Vendor

For a security manager, most of the value here is in vendor due diligence. If a provider markets confidential or private inference, ask:

Want to go deeper on how this domain is tested on the AAISM™ exam? The AI Security Management Prep App covers it across 307 practice questions, fully offline — free to download on Google Play.

Explore the App

Related Reading

For the full exam breakdown, see the AAISM™ Certification Study Guide. For another case of a vendor's internal weakness spreading to its customers, see The Vercel Breach: An AI Vendor Risk Case Study and One Vendor, Three AI Breaches. On mapping AI-specific vulnerabilities to controls, see OWASP LLM Top 10, Explained for Security Managers.

Sources

NEAR AI — Security incident report: SGLang vulnerability
Cloud Security Alliance — Confidential AI under pressure: SGLang RCE and SEV-SNP attacks