CVE-2026-119345: Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU Attacks
Published 2026-11-10 · Updated 2026-11-23 · Also known as GHSA-ghwv-vrp2-2975, GO-2026-6965
Summary
Cocos AI's intra-handshake attested TLS implementation is vulnerable to a TOCTOU flaw that allows modified workloads to remain trusted over existing TLS connections. Engineering teams using the `github.com/ultravioletrs/cocos` package prior to version 0.9.0 should upgrade their dependencies.
Who is affected
This flaw impacts deployments using `github.com/ultravioletrs/cocos` prior to version 0.9.0, especially those relying on long-lived attested TLS connections. An attacker with local access who can modify workload code, memory state, configuration, or attached hardware after initial attestation can exploit this window of vulnerability. Because attestation occurs only once at connection setup, the verifying peer continues to trust the endpoint despite runtime state changes, compromising confidentiality and integrity.
Exploitability
The vulnerability carries a CVSS 3.1 base score of 6.3 (Medium) with Local access vector, High attack complexity, Low privileges required, and No user interaction. The EPSS score is 0.001 (0.017 percentile), and CISA's KEV catalog confirms there is no known active exploitation in the wild.
Remediation
- Upgrade the Go dependency `github.com/ultravioletrs/cocos` to version 0.9.0 or later.
- If an immediate upgrade is not possible, implement post-handshake attestation to re-attest the workload state at periodic or user-defined intervals as a temporary workaround.
How to check your project
- Check your project's `go.mod` and `go.sum` files for dependencies on `github.com/ultravioletrs/cocos` at versions less than 0.9.0.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/ultravioletrs/cocos |
>= 0, < 0.9.0 | 0.9.0 | go get github.com/ultravioletrs/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
| Attack vector | Local |
|---|---|
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
What is the root cause of CVE-2026-119345?
Cocos AI performs attestation only once during TLS connection establishment, causing verifying peers to rely on initial evidence even if the workload state, memory, configuration, or connected hardware changes later in the connection's lifetime.
Is CVE-2026-119345 actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities indicates there is no known active exploitation, and the EPSS score is extremely low at 0.001.
How was this vulnerability discovered?
The vulnerability was identified and demonstrated through formal analysis using the ProVerif verification tool by Muhammad Usama Sardar.
Original advisory description
References
- WEB https://github.com/ultravioletrs/cocos/security/advisories/GHSA-ghwv-vrp2-2975
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-119345
- WEB https://github.com/ultravioletrs/cocos/pull/582
- WEB https://github.com/ultravioletrs/cocos/commit/80bf813c48300f02259b338b91f844c71be582ea
- WEB https://dl.acm.org/doi/10.1145/3779208.3785387
- WEB https://github.com/CCC-Attestation/formal-spec-id-crisis
- PACKAGE https://github.com/ultravioletrs/cocos
- WEB https://github.com/ultravioletrs/cocos/releases/tag/v0.9.0
Source records: GHSA-ghwv-vrp2-2975, GO-2026-6965 (OSV.dev) · EPSS by FIRST, 2026-11-24.