Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU Attacks

CVSS 4.0 7.2 HIGHEUVD CVSS 4.0 7.2 CVSS 4.0 · [email protected] · Secondary 7.2 HIGHCVSS_V3 CVSS_V4 Publisher rating HIGHFixed by github.com/ultravioletrs/cocos 0.9.0KEV status unknown

cve-program · CVE-2026-119345

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-117556

Published

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.

Read the publisher's advisory

nvd · CVE-2026-119345

Published

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.

Read the publisher's advisory

osv · GHSA-ghwv-vrp2-2975

Published

### Summary An attacker who can modify the attested workload’s code, memory-backed state, or configuration after the initial attestation — but without necessarily terminating the existing TLS connection — can cause the peer to continue trusting the connection as if the originally attested state were still running. ### Details Once attestation is successfully appraised and connection is established, there is a window of vulnerability from the establishment of connection to the termination of connection where an attacker can modify the state of the workload and platform at runtime on the TLS endpoint acting as the Attester. Workload state includes code, data, and configuration. Other examples of state changes at the workload level include cases where a new device (such as a GPU) is connected, or where a connected device is disconnected, since the connection establishment. In Cocos AI, there is no mechanism for the peer to know that some state has changed in the Attester after the connection establishment. The vulnerability is particularly concerning for long-lived connections. In short, this vulnerability was possible because Cocos AI performs attestation only once in the lifetime of the connection (at connection establishment time) and the verifying peer continues to believe that the state is the same as in initial Evidence throughout, whereas it could be stale at some point in time. This vulnerability for Cocos AI was found and demonstrated by Muhammad Usama Sardar via formal analysis. Formal analysis was performed in the state-of-the-art tool, ProVerif. ### Workarounds The proposed workaround is to allow re-attestation of the workload after periodic or user-defined intervals using post-handshake attestation. ### Background and General Technical Details For background and general (not specific to Cocos AI) technical details on this vulnerability, please see `G-RA2: Freshness of Evidence` in Sec. 5.1.1 of [Identity Crisis in Confidential Computing: Formal Analysis of Attested TLS](https://doi.org/10.1145/3779208.3785387). Also, see the corresponding [formal analysis](https://github.com/CCC-Attestation/formal-spec-id-crisis). ### Credits This vulnerability for Cocos AI was found and _responsibly_ disclosed by Muhammad Usama Sardar (TU Dresden, Germany).

Read the publisher's advisory

Affected versions, risk and source history

Related advisories and sources

Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.

CVE-2026-119345 · CVE overview and exploitation status

EUVD-2026-117556

GHSA-ghwv-vrp2-2975

cve-program · CVE-2026-119345

euvd · EUVD-2026-117556

nvd · CVE-2026-119345

osv · GHSA-ghwv-vrp2-2975

Related changes

Linked by CVE identifier
ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 16 Nov 08:58 UTC · 274 of 275 readable · 252 fully read · 18 waiting for GitHub's hourly limit · documentation 469/469 current