telepresence · Vulnerability
cve-program · CVE-2026-102339
PublishedTelepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunnel/message.go and passes it to state.Tunnel without verifying that the caller owns the active session. An attacker who obtains a valid active session ID through log leakage, cluster-internal channels, or the unauthenticated ArriveAsClient endpoint can attach a routed tunnel to that session and gain its network routing capabilities. UUID4 session IDs make cold brute force impractical. This vulnerability is fixed in 2.31.0.
Read the publisher's advisoryeuvd · EUVD-2026-117078
PublishedTelepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunnel/message.go and passes it to state.Tunnel without verifying that the caller owns the active session. An attacker who obtains a valid active session ID through log leakage, cluster-internal channels, or the unauthenticated ArriveAsClient endpoint can attach a routed tunnel to that session and gain its network routing capabilities. UUID4 session IDs make cold brute force impractical. This vulnerability is fixed in 2.31.0.
Read the publisher's advisorynvd · CVE-2026-102339
PublishedTelepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunnel/message.go and passes it to state.Tunnel without verifying that the caller owns the active session. An attacker who obtains a valid active session ID through log leakage, cluster-internal channels, or the unauthenticated ArriveAsClient endpoint can attach a routed tunnel to that session and gain its network routing capabilities. UUID4 session IDs make cold brute force impractical. This vulnerability is fixed in 2.31.0.
Read the publisher's advisoryosv · GHSA-6j3h-rp73-6rvf
Published## 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-102339 · CVE overview and exploitation status
cve-program · CVE-2026-102339
- https://github.com/telepresenceio/telepresence/security/advisories/GHSA-6j3h-rp73-6rvf
- https://github.com/telepresenceio/telepresence/pull/4217
- https://github.com/telepresenceio/telepresence/commit/1312482488b771742dbedd3015f9a81a27532de6
- https://github.com/telepresenceio/telepresence/commit/36458b65a010d2b316af48cd90e193ba190785d9
- https://github.com/telepresenceio/telepresence/releases/tag/v2.31.0
euvd · EUVD-2026-117078
- https://github.com/telepresenceio/telepresence/security/advisories/GHSA-6j3h-rp73-6rvf
- https://github.com/telepresenceio/telepresence/pull/4217
- https://github.com/telepresenceio/telepresence/commit/1312482488b771742dbedd3015f9a81a27532de6
- https://github.com/telepresenceio/telepresence/commit/36458b65a010d2b316af48cd90e193ba190785d9
- https://github.com/telepresenceio/telepresence/releases/tag/v2.31.0
nvd · CVE-2026-102339
- https://github.com/telepresenceio/telepresence/commit/1312482488b771742dbedd3015f9a81a27532de6
- https://github.com/telepresenceio/telepresence/commit/36458b65a010d2b316af48cd90e193ba190785d9
- https://github.com/telepresenceio/telepresence/pull/4217
- https://github.com/telepresenceio/telepresence/releases/tag/v2.31.0
- https://github.com/telepresenceio/telepresence/security/advisories/GHSA-6j3h-rp73-6rvf
osv · GHSA-6j3h-rp73-6rvf
- https://github.com/telepresenceio/telepresence/security/advisories/GHSA-6j3h-rp73-6rvf
- https://nvd.nist.gov/vuln/detail/CVE-2026-102339
- https://github.com/telepresenceio/telepresence/pull/4217
- https://github.com/telepresenceio/telepresence/commit/1312482488b771742dbedd3015f9a81a27532de6
- https://github.com/telepresenceio/telepresence/commit/36458b65a010d2b316af48cd90e193ba190785d9
- https://github.com/telepresenceio/telepresence
- https://github.com/telepresenceio/telepresence/releases/tag/v2.31.0
Related changes
Linked by CVE identifier- Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunn… · Advisory content revised · 13 Nov 2026
- Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager Tunnel gRPC streaming endpoint parses a session ID from the first bytes of a caller-controlled message in pkg/tunn… · Advisory content revised · 11 Nov 2026
- Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable · Newly collected advisory · 9 Nov 2026
- Telepresence: Tunnel endpoint accepts caller-supplied session ID with no ownership proof — active client sessions hijackable · Newly collected advisory · 4 Nov 2026