NetSight
high7.2

CVE-2026-119345

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

Impact

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.

An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/ultravioletrs/cocos<= 0.8.20.9.0

Affected products · Ultravioletrs

ProductAffected versions
Cocos
before 0.9.0

Weakness classification

References