{"id":"GO-2026-6965","summary":"Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU Attacks in github.com/ultravioletrs/cocos","details":"Cocos AI Intra-handshake attested TLS implementation is vulnerable to TOCTOU Attacks in github.com/ultravioletrs/cocos","aliases":["CVE-2026-119345","GHSA-ghwv-vrp2-2975"],"modified":"2026-11-23T20:30:13.562052593Z","published":"2026-11-23T20:04:10Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6965","review_status":"UNREVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/ultravioletrs/cocos/security/advisories/GHSA-ghwv-vrp2-2975"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119345"},{"type":"FIX","url":"https://github.com/ultravioletrs/cocos/commit/80bf813c48300f02259b338b91f844c71be582ea"},{"type":"FIX","url":"https://github.com/ultravioletrs/cocos/pull/582"},{"type":"WEB","url":"https://dl.acm.org/doi/10.1145/3779208.3785387"},{"type":"WEB","url":"https://github.com/CCC-Attestation/formal-spec-id-crisis"},{"type":"WEB","url":"https://github.com/ultravioletrs/cocos/releases/tag/v0.9.0"}],"affected":[{"package":{"name":"github.com/ultravioletrs/cocos","ecosystem":"Go","purl":"pkg:golang/github.com/ultravioletrs/cocos"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}],"ecosystem_specific":{"imports":[{"symbols":["NewClient","createTransport"],"path":"github.com/ultravioletrs/cocos/pkg/clients/http"},{"path":"github.com/ultravioletrs/cocos/pkg/clients/grpc","symbols":["NewClient","client.Close","connect"]},{"symbols":["DefaultCertificateSubject","NewAttestationProvider","NewAttestedCAProvider","NewAttestedProvider","NewCertificateVerifier","NewProvider","OID","attestedCertificateProvider.GetCertificate","attestedCertificateProvider.SetTTL","attestedCertificateProvider.generateCASignedCertificate","attestedCertificateProvider.generateSelfSignedCertificate","certificateVerifier.VerifyPeerCertificate","certificateVerifier.verifyAttestationExtension","certificateVerifier.verifyCertificateExtension","certificateVerifier.verifyCertificateSignature","extractNonceFromSNI","hasNonceSuffix","platformAttestationProvider.Attest","platformAttestationProvider.OID","platformAttestationProvider.PlatformType","platformTypeFromOID","platformVerifier"],"path":"github.com/ultravioletrs/cocos/pkg/atls"},{"path":"github.com/ultravioletrs/cocos/pkg/atls/mocks","symbols":["CertificateProvider.EXPECT","CertificateProvider.GetCertificate","CertificateProvider_Expecter.GetCertificate","CertificateProvider_GetCertificate_Call.Return","CertificateProvider_GetCertificate_Call.Run","CertificateProvider_GetCertificate_Call.RunAndReturn","NewCertificateProvider"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6965.json"}}],"schema_version":"1.9.2"}