All vulnerabilities

Go

CVE-2026-119345

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

Severity
High 6.3
Published
10 Nov 2026
Last changed
10 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.9.0
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Time-of-check time-of-use race condition (CWE-367)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-ghwv-vrp2-2975
Sources
OSV.dev and GitHub

Description

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.

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.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

The proposed workaround is to allow re-attestation of the workload after periodic or user-defined intervals using post-handshake attestation.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/ultravioletrs/cocosGo · osv:Go:github.com/ultravioletrs/cocos
  • Every version before 0.9.0

About github.com/ultravioletrs/cocos

This is the only vulnerability in github.com/ultravioletrs/cocos in our list.

References