Summary
Telepresence's Traffic Manager can accept unauthenticated calls from callers on the cluster network, and its intercept API does not verify that the caller's Kubernetes RBAC permissions allow the requested namespace. A pod with network access to the manager may be able to create an intercept in a managed namespace, receive a victim pod's traffic, and access its container environment, which may contain secrets or tokens.
Telepresence's Traffic Manager can accept unauthenticated calls from callers on the cluster network, and its intercept API does not verify that the caller's Kubernetes RBAC permissions allow the requested namespace. A pod with network access to the manager may be able to create an intercept in a managed namespace, receive a victim pod's traffic, and access its container environment, which may contain secrets or tokens.
Affected context
The issue affects Telepresence deployments using the Traffic Manager gRPC API on port 8081 where cluster-network callers can reach the manager. Before Telepresence 2.31.0, namespace management checks did not establish that a caller's Kubernetes RBAC permissions authorized the requested intercept. Deployments that manage all namespaces by default may expose a broader set of workloads to this risk.
The issue affects Telepresence deployments using the Traffic Manager gRPC API on port 8081 where cluster-network callers can reach the manager. Before Telepresence 2.31.0, namespace management checks did not establish that a caller's Kubernetes RBAC permissions authorized the requested intercept. Deployments that manage all namespaces by default may expose a broader set of workloads to this risk.
Exploit preconditions
- Attack surface: The Traffic Manager gRPC API on port 8081
- Required access: Ability to run or control a pod with network access to the manager; API authentication is not required by the described behavior
- Trigger point: Registration through
ArriveAsClientfollowed by aCreateInterceptrequest for a managed namespace - Why exploitation is possible: The namespace watchlist check does not verify the caller's session permissions through Kubernetes RBAC, allowing intercepts beyond the caller's authorized scope
- Attack surface: The Traffic Manager gRPC API on port 8081
- Required access: Ability to run or control a pod with network access to the manager; API authentication is not required by the described behavior
- Trigger point: Registration through
ArriveAsClientfollowed by aCreateInterceptrequest for a managed namespace - Why exploitation is possible: The namespace watchlist check does not verify the caller's session permissions through Kubernetes RBAC, allowing intercepts beyond the caller's authorized scope
Why this happens
The API relies on a namespace management check rather than authenticating callers and authorizing each requested operation against their permissions. This is a broken authorization pattern mapped to CWE-862: Missing Authorization. The acceptance of calls without verifying the caller's identity also relates to CWE-306: Missing Authentication for Critical Function.
The API relies on a namespace management check rather than authenticating callers and authorizing each requested operation against their permissions. This is a broken authorization pattern mapped to CWE-862: Missing Authorization. The acceptance of calls without verifying the caller's identity also relates to CWE-306: Missing Authentication for Critical Function.
Potential impact
- An attacker may register in a namespace they are not authorized to access.
- An attacker could create intercepts and receive traffic intended for victim workloads.
- Intercepted workloads' container environments may expose secrets, tokens, or API keys.
- Compromised credentials could enable further access within the cluster.
- An attacker may register in a namespace they are not authorized to access.
- An attacker could create intercepts and receive traffic intended for victim workloads.
- Intercepted workloads' container environments may expose secrets, tokens, or API keys.
- Compromised credentials could enable further access within the cluster.
General mitigation guidance
Mitigation patterns include requiring authenticated identities for sensitive manager APIs and authorizing every registration and intercept request against the caller's effective Kubernetes permissions. Scope manager access and namespace management to the minimum required, restrict network reachability to trusted workloads, and avoid broad default access where narrower configuration is practical. Treat intercepted traffic and workload environment data as sensitive, and apply least privilege to both the manager and workloads.
Mitigation patterns include requiring authenticated identities for sensitive manager APIs and authorizing every registration and intercept request against the caller's effective Kubernetes permissions. Scope manager access and namespace management to the minimum required, restrict network reachability to trusted workloads, and avoid broad default access where narrower configuration is practical. Treat intercepted traffic and workload environment data as sensitive, and apply least privilege to both the manager and workloads.
How teams detect issues like this
- Review API handlers for sensitive operations that lack caller authentication or per-request authorization checks.
- Use static analysis and code review to identify namespace checks that do not evaluate the caller's permissions.
- Audit manager access and intercept creation events for unexpected callers, namespaces, or workloads.
- Enforce network policies that limit which pods can reach the manager API, and apply admission or policy controls to constrain namespace scope.
- Automated code review tools may help flag missing authentication and authorization checks.
- Review API handlers for sensitive operations that lack caller authentication or per-request authorization checks.
- Use static analysis and code review to identify namespace checks that do not evaluate the caller's permissions.
- Audit manager access and intercept creation events for unexpected callers, namespaces, or workloads.
- Enforce network policies that limit which pods can reach the manager API, and apply admission or policy controls to constrain namespace scope.
- Automated code review tools may help flag missing authentication and authorization checks.

