Skip to main content

Cocos Ai CVE-2026-33697

HIGH
Key Exchange without Entity Authentication (CWE-322)
2026-03-27 security-advisories@github.com
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise local access to CoCoS system
  2. Exploit
    Extract ephemeral TLS private key from attestation
  3. Execution
    Relay attested TLS session to unauthorized endpoint
  4. Impact
    Bypass confidential computing attestation guarantees

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Authenticated key exchange
Exploitation Conditions

Requires local access to CoCoS confidential computing system running v0.4.0–v0.8.2 with attested TLS (aTLS) enabled on AMD SEV-SNP or Intel TDX targets. Low-privilege local user can extract ephemeral TLS private key during intra-handshake attestation to relay authenticated connections.

Impact

The CVSS 3.1 score of 7.5 with vector AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N indicates a local attack requiring high complexity, low privileges, with scope change and high confidentiality and integrity impact. The local attack vector (AV:L) and high attack complexity (AC:H) substantially reduce real-world exploitation probability, as the attacker must first obtain physical access or successfully execute sophisticated side-channel attacks to extract ephemeral keys from TEE memory. The vulnerability targets specialized confidential computing deployments using AMD SEV-SNP or Intel TDX, representing a narrow deployment surface compared to mainstream web applications. No EPSS score or KEV listing is provided in input data; no public exploit identified at time of analysis. The requirement for physical proximity or advanced cryptographic side-channel expertise, combined with the niche deployment scope of confidential computing infrastructure, suggests this is a moderate priority for organizations not operating TEE-based services, but critical for cloud providers and enterprises deploying Cocos AI in production confidential computing environments where attestation integrity is foundational to the security model.

Exploit ScenarioDerived

An attacker with physical access to the server hosting a Cocos AI confidential computing service executes a memory side-channel attack (e.g., Prime+Probe cache timing) against the TEE during the aTLS handshake to extract the ephemeral TLS private key from processor caches. With the extracted key, the attacker establishes a relay server that presents the genuine attestation evidence to the client while forwarding the encrypted session to a malicious backend under the attacker's control. The client, validating only the attestation report bound to the ephemeral key, accepts the connection believing it communicates with the legitimate TEE, inadvertently sending sensitive AI model weights or training data to the attacker's infrastructure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

Attested TLS relay attacks in Cocos AI confidential computing system versions 0.4.0 through 0.8.2 enable attackers to impersonate genuine TEE-protected services on AMD SEV-SNP and Intel TDX platforms by extracting ephemeral TLS private keys and redirecting authenticated sessions. The architectural flaw allows an attacker with physical access or side-channel capabilities to relay attestation evidence to a different endpoint, breaking the authentication binding between the TEE and the client. No vendor-released patch is available; the vulnerability affects a specialized confidential computing platform with low EPSS probability (formal EPSS score not provided in input) and no public exploit identified at time of analysis, though formal ProVerif verification confirms the attack feasibility.

RemediationAI

No vendor-released patch identified at time of analysis per the CVE description stating 'there is no patch available.' Organizations must implement defense-in-depth hardening measures as incomplete workarounds: maintain current TEE firmware and microcode updates from AMD (SEV-SNP BIOS/firmware) and Intel (TDX module updates) to reduce key-extraction attack surface; enforce strict attestation policy validation covering all report fields including firmware versions, TCB (Trusted Computing Base) security version numbers, and platform configuration registers to detect anomalous attestation evidence; deploy mutual aTLS with CA-signed certificates where architecture permits to add an independent authentication layer. Monitor the vendor advisory at https://github.com/ultravioletrs/cocos/security/advisories/GHSA-vfgg-mvxx-mgg7 for patch release announcements. Consider risk acceptance or service isolation for non-critical confidential computing workloads until architectural remediation is available.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability affects the attested TLS (aTLS) implementation in Cocos AI, a confidential computing framework supporting AMD SEV-SNP (Secure Encrypted Virtualization - Secure Nested Paging) and Intel TDX (Trust Domain Extensions) trusted execution environments. The root cause is CWE-322 (Key Exchange without Entity Authentication), where attestation evidence generated during the TLS handshake is cryptographically bound to the ephemeral TLS private key but not to the actual TLS channel endpoint. This design allows an adversary who extracts the ephemeral key through physical access, transient execution attacks (e.g., Spectre-class), or side-channel methods to replay the attestation evidence to a different server, effectively relaying the attested session. The aTLS redesign in v0.7.0 did not remediate this architectural weakness. Formal verification using ProVerif by researchers disclosed to the IETF TLS Working Group demonstrates the attack across multiple aTLS implementations, confirming this is a protocol-level design issue rather than an implementation bug.

Know when Cocos Ai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 7.5 HIGH
AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionGitHub Advisory

Cocos AI is a confidential computing system for AI. The current implementation of attested TLS (aTLS) in CoCoS is vulnerable to a relay attack affecting all versions from v0.4.0 through v0.8.2. This vulnerability is present in both the AMD SEV-SNP and Intel TDX deployment targets supported by CoCoS. In the affected design, an attacker may be able to extract the ephemeral TLS private key used during the intra-handshake attestation. Because the attestation evidence is bound to the ephemeral key but not to the TLS channel, possession of that key is sufficient to relay or divert the attested TLS session. A client will accept the connection under false assumptions about the endpoint it is communicating with - the attestation report cannot distinguish the genuine attested service from the attacker's relay. This undermines the intended authentication guarantees of attested TLS. A successful attack may allow an attacker to impersonate an attested CoCoS service and access data or operations that the client intended to send only to the genuine attested endpoint. Exploitation requires the attacker to first extract the ephemeral TLS private key, which is possible through physical access to the server hardware, transient execution attacks, or side-channel attacks. Note that the aTLS implementation was fully redesigned in v0.7.0, but the redesign does not address this vulnerability. The relay attack weakness is architectural and affects all releases in the v0.4.0-v0.8.2 range. This vulnerability class was formally analyzed and demonstrated across multiple attested TLS implementations, including CoCoS, by researchers whose findings were disclosed to the IETF TLS Working Group. Formal verification was conducted using ProVerif. As of time of publication, there is no patch available. No complete workaround is available. The following hardening measures reduce but do not eliminate the risk: Keep TEE firmware and microcode up to date to reduce the key-extraction surface; define strict attestation policies that validate all available report fields, including firmware versions, TCB levels, and platform configuration registers; and/or enable mutual aTLS with CA-signed certificates where deployment architecture permits.

Executive ViewAI

Why It Matters

Cocos AI confidential computing platform versions 0.4.0 through 0.8.2 contain a TLS relay vulnerability that allows attackers with physical access or side-channel capabilities to impersonate legitimate TEE-protected services and hijack authenticated sessions. Organizations deploying these versions on AMD SEV-SNP or Intel TDX infrastructure lose the security guarantee that confidential workloads are communicating with verified endpoints, potentially exposing sensitive computations and data processed within trusted execution environments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) network segmentation to restrict physical and side-channel attack surface; (2) disable or isolate affected Cocos AI instances if they are non-critical; (3) implement endpoint monitoring and session anomaly detection to identify relay attacks; (4) restrict deployment of versions 0.4.0-0.8.2 to isolated test environments only until a patched release is available; (5) monitor vendor security advisories for patched versions (0.8.3 or later if released). Note: these controls do not eliminate the underlying architectural flaw and should be considered temporary measures pending vendor patch release.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:ultraviolet:cocos_ai:*:*:*:*:*:go:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy