GHSA-wg5q-x4j9-qm54

Suggest an improvement
Source
https://github.com/advisories/GHSA-wg5q-x4j9-qm54
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-wg5q-x4j9-qm54/GHSA-wg5q-x4j9-qm54.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wg5q-x4j9-qm54
Aliases
Published
2026-10-30T23:13:29Z
Modified
2026-10-30T23:30:04Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Kubeflow Pipelines: Run-log endpoint permits unauthorized access to pod logs
Details

Summary

The Kubeflow Pipelines API server's GET /apis/v1alpha1/runs/{run_id}/nodes/{node_id}/log handler retrieves logs without authorizing the caller against the selected run. A caller who can reach the backend and knows a victim run ID and a suitable pod or node identifier can read live or archived logs using the API server's permissions.

For live logs, the vulnerable handler also accepts the supplied node ID as a pod name in the run's namespace without verifying that the pod belongs to the run. Depending on the API server's pod-log permissions, a known run ID can therefore permit reading the main container logs of an unrelated pod in that namespace. Logs may contain sensitive workload data or credentials.

The affected handler does not authenticate the request itself. An external authentication gate or network policy can restrict reachability; public ingress exposure and unauthenticated enumeration of run IDs are not assumed.

Remediation

Upgrade the API server to Kubeflow Pipelines 2.18.0. Versions through 2.17.3 are affected; the first affected release has not been established.

PR #13684 authorizes the caller with the readLog verb before retrieving live or archived logs. For live logs, it also verifies that the pod's pipeline/runid label matches the requested run. Custom Kubernetes roles must grant readLog on runs in the pipelines.kubeflow.org API group; the bundled viewer and editor roles include it. Shared read access alone does not grant log access.

Until upgrading, restrict access to the backend log endpoint. Focused regression tests cover authorization denial, HTTP identity propagation, pod/run mismatch, archive retrieval, and cancellation; no new deployed-cluster end-to-end test was performed for this assessment.

Credit

bugbunny.ai discovered and reported the issue. Nayyar (@naruto-lgtm) authored the fix in #13684.

@patchmyday, @thesecguy45, @VitoCrl, @Grg0rry, @arpitjain099, and @BrianWillows made later submissions concerning the run-log authorization gap. MUTEDCYBERSECURITY S.L. separately reported a synthetic two-tenant reproduction, including the unrelated-pod log path.

Database specific
{
    "cwe_ids":  [
        "CWE-200",
        "CWE-862"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-30T23:13:29Z",
    "nvd_published_at":  "2026-10-29T17:18:06Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/kubeflow/pipelines

Package

Name
github.com/kubeflow/pipelines
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubeflow/pipelines

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260904182349-be4723e33727

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-wg5q-x4j9-qm54/GHSA-wg5q-x4j9-qm54.json"

Go / github.com/kubeflow/pipelines

Package

Name
github.com/kubeflow/pipelines
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubeflow/pipelines

Affected ranges

Affected versions

1.*
1.7.0-alpha.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-wg5q-x4j9-qm54/GHSA-wg5q-x4j9-qm54.json"