CVE-2026-136612: Kiali: kiali: serviceaccount token disclosure via post /api/tracing/check with caller-controlled destination
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.
Other sources
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 clusterwideaccess: true and kialifeatureflags.authz.requirenamespaceget: 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 clusterwideaccess: 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.
— Red Hat