Repository navigation
KFP SDK v2.18.1
Kubeflow Pipelines SDK 2.18.1 fixes two security advisories affecting Google authentication and local pipeline execution. It also fixes nested conditional compilation and credential selection.
Security improvements
- Google credentials. The SDK validates the inverse-proxy endpoint before selecting Google Application Default Credentials. This prevents a Google access token from being sent to an unintended host. GHSA-qv29-qxgh-jcw8
- Local pipeline execution. The local runner treats task output used in conditions as data. A task’s output could previously execute Python code in the process running the pipeline. GHSA-rhjm-6347-5x33
Bug fixes
- Nested pipeline conditions. A pipeline that uses
dsl.Ifcan now call a pipeline component that also usesdsl.If. Install 2.18.1 and regenerate the compiled specification for affected pipelines. #15267 - Explicit credentials. When you supply credentials to the client, they take precedence even when Google Application Default Credentials are available. Polling also limits retries after an authentication refresh. #15262 · #15254
Installation and compatibility
Install the matching SDK distributions in your authoring environment:
python -m pip install kfp==2.18.1 kfp-server-api==2.18.1 kfp-pipeline-spec==2.18.1For pipelines that use the Kubernetes extension, also install:
python -m pip install kfp-kubernetes==2.18.1Python 3.9 remains supported through interpreter-specific dependency selections. Older dependency branches retain known security limitations. Refresh your dependency lock and rebuild component images that install the SDK when adopting the update. SDK changelog
Legacy visualization removal
Legacy Python visualization will be removed completely in the next 2.18 release. This concerns the server-side API that generates legacy visualizations, including TABLE and CUSTOM. If your integration calls that API, plan its migration now. The SDK’s local HTML/Mermaid pipeline diagrams and the V2 Run Details artifact viewers are separate features. Backend release notes · Migration guidance
Versioned SDK documentation · Kubernetes SDK reference · Full changelog from SDK 2.18.0 to 2.18.1
Contributors
Release contributors
cbartram, dependabot[bot], Gregory Tan, Grg0rry, Helber Belmiro, Herik Webb, Humair Khan, Jeff Spahr, JerT33, Sathish
Assets
Source archives (available after tag publication): ZIP · tar.gz.
See the release assets for published downloads.