Threat Advisory

Cocos AI Attested TLS Allows Attackers to Modify Workload State

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-119345 with a CVSS score of 7.2 is a time-of-check-to-time-of-use flaw in the Cocos AI Intra-handshake attested TLS implementation. The affected software is github.com/ultravioletrs/cocos (go) versions <= 0.8.2. The vulnerability occurs because attestation is performed only once when the TLS connection is established, while the verifying peer continues to treat the connection as if the originally attested workload state remains unchanged for the entire lifetime of the session. An attacker with local access and low privileges can exploit the issue by modifying the attested workload’s code, memory-backed state, or configuration after the initial attestation, without necessarily terminating the existing TLS connection. The attacker may also change platform-level state, such as connecting or disconnecting a device like a GPU, causing the peer to rely on stale evidence. Because the flaw is especially relevant to long-lived connections, it can undermine the trust assumptions of confidential computing deployments, allowing a compromised or altered workload to continue operating under the appearance of a previously verified identity. The business impact is high for confidentiality and integrity, as sensitive data, credentials, or workload decisions may be exposed or manipulated while the peer believes the attested state is still valid.

RECOMMENDATION:

We recommend you to update Cocos AI to version 0.9.0.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-119345 with a CVSS score of 7.2 is a time-of-check-to-time-of-use flaw in the Cocos AI Intra-handshake attested TLS implementation. The affected software is github.com/ultravioletrs/cocos (go) versions <= 0.8.2. The vulnerability occurs because attestation is performed only once when the TLS connection is established, while the verifying peer continues to treat the connection as if the originally attested workload state remains unchanged for the entire lifetime of the session. An attacker with local access and low privileges can exploit the issue by modifying the attested workload’s code, memory-backed state, or configuration after the initial attestation, without necessarily terminating the existing TLS connection. The attacker may also change platform-level state, such as connecting or disconnecting a device like a GPU, causing the peer to rely on stale evidence. Because the flaw is especially relevant to long-lived connections, it can undermine the trust assumptions of confidential computing deployments, allowing a compromised or altered workload to continue operating under the appearance of a previously verified identity. The business impact is high for confidentiality and integrity, as sensitive data, credentials, or workload decisions may be exposed or manipulated while the peer believes the attested state is still valid.

RECOMMENDATION:

We recommend you to update Cocos AI to version 0.9.0.[emaillocker id="1283"]

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu