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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/ultravioletrs/cocos | <= 0.8.2 | 0.9.0 |
Affected products · Ultravioletrs
| Product | Affected versions |
|---|---|
| Cocos | before 0.9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ultravioletrs/cocos/commit/80bf813c48300f02259b338b91f844c71be582ea
- https://github.com/ultravioletrs/cocos/pull/582
- https://github.com/ultravioletrs/cocos/releases/tag/v0.9.0
- https://github.com/ultravioletrs/cocos/security/advisories/GHSA-ghwv-vrp2-2975
- https://github.com/advisories/GHSA-ghwv-vrp2-2975
- https://nvd.nist.gov/vuln/detail/CVE-2026-119345
- https://dl.acm.org/doi/10.1145/3779208.3785387
- https://github.com/CCC-Attestation/formal-spec-id-crisis