Bug 2583751 (CVE-2026-136612)

Summary: CVE-2026-136612 kiali: kiali: ServiceAccount token disclosure via POST /api/tracing/check with caller-controlled destination
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Kiali. The /api/tracing/check endpoint accepts a caller-supplied tracing configuration, including the destination URL, and sends Kiali's own ServiceAccount token to that destination. The only authorization required is the ability to view the control-plane namespace. A user with that permission can direct Kiali's ServiceAccount credential, which holds cluster-wide permissions including patching deployments, to a host they control. Additionally, sending the literal obfuscation placeholder as the authentication token causes the endpoint to return the real operator-configured tracing credential to a caller-chosen URL.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Deadline: 2026-12-01   

Description OSIDB Bzimport 2026-11-24 22:26:44 UTC
The Kiali POST /api/tracing/check endpoint accepts a caller-supplied TracingConfig, including the destination URL, and contacts that destination carrying Kiali's own ServiceAccount bearer token. The only authorization check is HasMeshAccess, which with the CRD-default cluster_wide_access: true and kiali_feature_flags.authz.require_namespace_get: false reduces to get on the control-plane namespace (e.g. istio-system). A user holding that single permission can make Kiali post its ServiceAccount credential to a host they control. The same endpoint leaks the operator-configured tracing credentials by a second route: ValidateConfiguration reverses Kiali's own "xxx" obfuscation before the outbound request, so a caller who sends the literal string "xxx" as auth.token receives the real stored value at their own URL. With cluster_wide_access: true the leaked ServiceAccount holds cluster-wide get/list/watch on configmaps and pods/log and patch on deployments, daemonsets and other workload resources. Reported by an external researcher to the Kiali upstream security list (kiali-security) and forwarded by the Kiali maintainers; the reporter verified both paths end-to-end against the shipped upstream image, including a successful deployment patch using the stolen token. Affected upstream v2.12.0 through v2.35.0; the handler does not exist in v2.11.0 and earlier. Fixes are planned for OSSM 3.2 through 3.5 z-stream releases targeted 2026-12-01. Shipped OSSM kiali server versions: 3.2 (2.17.16), 3.3 (2.22.12), 3.4 (2.27.6), 3.5 (2.33.1); OSSM 3.1 ships 2.11.19 and is not affected. The kiali-ossmc variant does not require separate advisories per maintainer confirmation.