CVE-2025-2786 Tempo-operator: serviceaccount token exposure leading to token and subject access reviews in openshift tempo operator
Attackers with namespace access can extract ServiceAccount tokens to reveal other users' permissions via TokenReview and SubjectAccessReview requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-2786?
CVE-2025-2786 is a medium-severity vulnerability in Red Hat OpenShift distributed tracing 3, published on 2 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw was found in Tempo Operator, where it creates a ServiceAccount, ClusterRole, and ClusterRoleBinding when a user deploys a TempoStack or TempoMonolithic instance. This flaw allows a user with full access to their namespace to extract the ServiceAccount token and use it to submit TokenReview and SubjectAccessReview requests, potentially revealing information about other users' permissions. While this does not allow privilege escalation or impersonation, it exposes information that could aid in gathering information for further attacks.
Weakness: CWE-200
Which versions are affected by CVE-2025-2786?
3 open source packages ship an affected version, including github.com/grafana/tempo-operator.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/tempo-operator Go | All versions | 0.16.0 |
github.com/grafana/tempo-operator Go | All versions | 0.16.0 |
github.com/grafana/tempo-operator Go | All versions | 0.16.0 |
How do I fix CVE-2025-2786?
Upgrade github.com/grafana/tempo-operator to 0.16.0 or later.
Is CVE-2025-2786 being exploited?
There is no known exploitation of CVE-2025-2786 in the wild and no public exploit code.
Sources
Also known as GHSA-28gr-56hr-prp6, GO-2026-4996.