HIGH · CVSS 3.1 8.2 EPSS 0.4% · 37th percentile CWE-639

CVE-2026-102339: Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof - active client sessions hijackable

Published 2026-11-09 · Updated 2026-11-23 · Also known as GHSA-6j3h-rp73-6rvf, GO-2026-6946

Summary

The Telepresence Tunnel gRPC endpoint accepts a client‑supplied session ID without verifying that the caller owns that session, allowing attackers to hijack active client tunnels. Engineering and security teams using Telepresence versions before 2.31.0 should act immediately.

Who is affected

The flaw affects any deployment that uses the Go package github.com/telepresenceio/telepresence/v2 prior to version 2.31.0. Exploitation requires the attacker to possess a valid active session ID, which can be obtained from internal logs or the unauthenticated ArriveAsClient endpoint. Without a valid session ID, the attack cannot succeed.

Exploitability

The CVSS vector AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N yields a base score of 8.2, indicating high impact but high complexity. The EPSS score of 0.004 (percentile 0.370) and the absence of CISA KEV confirm that active exploitation is unlikely, though not impossible if session IDs are leaked.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/telepresenceio/telepresence/v2 >= 0, < 2.31.0 2.31.0 go get github.com/telepresenceio/telepresence/[email protected]

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Attack vectorNetwork
Attack complexityHigh
Privileges requiredLow
User interactionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

FAQ

What versions of Telepresence are affected?

Versions prior to 2.31.0 of the Go package github.com/telepresenceio/telepresence/v2 are affected.

How can an attacker obtain a valid session ID?

A valid session ID can be obtained from the unauthenticated ArriveAsClient endpoint or from internal logs that expose active session identifiers.

Is this vulnerability currently being exploited in the wild?

CISA does not list this issue in its Known Exploited Vulnerabilities, and the low EPSS score indicates limited observed exploitation.

Original advisory description
## Summary The 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. ## Details The `Tunnel` handler reads identity from a client-provided binary payload rather than from a verified credential or prior authenticated gRPC call: ```go // cmd/traffic/cmd/manager/service.go:1057-1063 func (s *service) Tunnel(server grpc.BidiStreamingServer[...]) error { stream, err := tunnel.NewServerStream(ctx, tunnel.ClientToManager, server) return s.state.Tunnel(ctx, stream) // stream.SessionID() is client-controlled } ``` `state.Tunnel` looks up the session ID in the sessions map with no ownership proof: ```go // cmd/traffic/cmd/manager/state/state.go:698-703 func (s *State) Tunnel(ctx context.Context, stream tunnel.Stream) error { id := stream.SessionID() // from client payload bytes if cs, ok := s.clients.Load(id); ok { return s.clientTunnel(ctx, cs, stream) // full dialer granted } return grpcErrors.Errorf(codes.NotFound, ...) } ``` The 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). ## Proof of Concept Precondition: a valid active session ID (obtainable via ArriveAsClient, which has no auth either). ```go conn, _ := grpc.NewClient("traffic-manager.ambassador:8081", grpc.WithTransportCredentials(insecure.NewCredentials())) mgr := rpc.NewManagerClient(conn) tunnelStream, _ := mgr.Tunnel(ctx) // Send StreamInfo with victim session ID in payload tunnelStream.Send(&rpc.TunnelMessage{Payload: buildStreamInfo(victimSessionID, ...)}) // Traffic Manager routes tunnel traffic for victimSessionID // through this attacker-controlled bidirectional stream ``` ## Impact A 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 create their own sessions and pivot to impersonate active developer sessions.

References

Source records: GHSA-6j3h-rp73-6rvf, GO-2026-6946 (OSV.dev) · EPSS by FIRST, 2026-11-23.