---
id: CVE-2026-119345
title: >-
  Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU
  Attacks
summary: >-
  Cocos AI is a confidential computing system for AI. Prior to 0.9.0, Cocos AI
  performs attestation only once when an attested TLS connection is established.
  An attacker who can modify the attester's workload code, memory-backed state,
  con…
severity: high
cvss: 7.2
cvssVector: 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-367
vendor: ultravioletrs
product: cocos
affected:
  - cocos < 0.9.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-05T20:40:34.478750Z'
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:40:45.305Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119345'
references:
  - url: >-
      https://github.com/ultravioletrs/cocos/security/advisories/GHSA-ghwv-vrp2-2975
    label: >-
      https://github.com/ultravioletrs/cocos/security/advisories/GHSA-ghwv-vrp2-2975
  - url: 'https://github.com/ultravioletrs/cocos/pull/582'
    label: 'https://github.com/ultravioletrs/cocos/pull/582'
  - url: >-
      https://github.com/ultravioletrs/cocos/commit/80bf813c48300f02259b338b91f844c71be582ea
    label: >-
      https://github.com/ultravioletrs/cocos/commit/80bf813c48300f02259b338b91f844c71be582ea
  - url: 'https://github.com/ultravioletrs/cocos/releases/tag/v0.9.0'
    label: 'https://github.com/ultravioletrs/cocos/releases/tag/v0.9.0'
tags:
  - cve.org
ingestedAt: '2026-11-05T22:38:31.842Z'
---

## Overview

Cocos AI is a confidential computing system for AI. Prior to 0.9.0, Cocos AI performs attestation only once when an attested TLS connection is established. An attacker who can modify the attester's workload code, memory-backed state, configuration, or attached devices after that check can keep the existing connection open while the peer continues trusting stale initial Evidence. This gap is especially significant for long-lived connections because the verifier has no mechanism to detect the changed state. This issue is fixed in version 0.9.0.

## Affected

- `cocos < 0.9.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
