Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

Kubeflow

← Back to Glossary
By NHI Mgmt Group Updated November 2, 2026 Domain: Architecture & Implementation

Kubeflow is an open source platform for building, deploying and managing machine learning workflows on Kubernetes. It provides components for pipelines, notebooks and model serving, so teams can package training and inference jobs as repeatable containerised workloads with defined access, storage and runtime controls.

Kubeflow as a machine learning workflow platform

Kubeflow is best understood as an orchestration layer for machine learning work on Kubernetes. Its value is not just running notebooks or training jobs, but making those workloads repeatable, portable and easier to govern across clusters by packaging them as containerised components with defined runtime boundaries.

That design matters because machine learning teams often need a shared way to move from experimentation to production without rewriting the entire workflow for each environment. Kubeflow sits at the intersection of data science, platform engineering and cluster operations, so its security posture depends on both Kubernetes hardening and the controls around the workloads it runs.

What Kubeflow changes in practice

Kubeflow makes ML pipelines more operationally consistent by standardising how data preparation, training, evaluation and serving are assembled. Instead of ad hoc scripts on isolated machines, teams can define a workflow that is deployed, versioned and rerun in a controlled cluster environment.

That consistency can improve reliability, but it also concentrates more work into a smaller number of shared platform components. A misconfiguration in one place, such as a notebook environment, pipeline component or model-serving endpoint, can affect many jobs at once. For that reason, Kubeflow is usually treated as platform infrastructure rather than a simple developer tool.

Security boundaries and access assumptions

Because Kubeflow runs inside Kubernetes, the security model depends on namespace separation, workload identity, service account scope, secret handling and network boundaries. The platform is only as safe as the permissions granted to its pipeline steps, notebooks and serving containers, especially when those components can reach data stores, registries or internal APIs.

Where those assumptions are weak, an attacker can move from a low-friction development surface into broader cluster or cloud access. The lesson is not that Kubeflow is uniquely unsafe, but that ML platforms often inherit the blast radius of the Kubernetes primitives underneath them. NIST SP 800-53 Rev 5 Security and Privacy Controls provides a useful control reference for access control, identification and authentication, configuration management and auditability in this kind of environment, while NIST SP 800-207 Zero Trust Architecture reinforces the need to verify access between workloads rather than trusting the cluster boundary.

Operational use cases and governance pressure

Kubeflow tends to be adopted when organisations want repeatable ML delivery with clearer separation between experimentation and production. That makes it a governance problem as much as a tooling choice: teams need ownership for pipeline definitions, notebook access, model promotion, data exposure and the lifecycle of credentials used by jobs and services.

In practice, the platform can also become a policy enforcement point for model development. Controls around reproducibility, traceability and controlled deployment are easier to apply when pipelines are formalised, but they must be paired with review of what the workloads can access and how artefacts are promoted. The OWASP Non-Human Identity Top 10 is relevant here because Kubeflow workflows often depend on non-human credentials and long-lived service permissions, and the OWASP API Security Top 10 is useful when pipeline components or model-serving endpoints expose machine-to-machine interfaces.

Risk and Threat Considerations

Kubeflow introduces meaningful risk when its dashboards, notebooks, pipelines or service accounts are overexposed. The main concern is that a platform built to accelerate ML work can also provide an attractive route for cryptomining, lateral movement or data access if cluster permissions are too broad or internet-facing components are left open.

Failure mechanism: Attackers exploit exposed management surfaces or overly privileged runtime identities to execute code inside ML workloads, then use those workloads to access cluster resources, steal data or persist through trusted platform components.

Impact: The result can be cloud cost abuse, loss of model or data confidentiality, compromise of internal systems reachable from the cluster, and a wider incident response problem because the abuse occurs through legitimate platform paths.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and OWASP API Security Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeKubeflow workload and notebook permissions hinge on least-privilege access.
IA-9 — Identification and Authentication (Non-Organizational Users)Kubeflow workflows depend on machine-to-machine authentication inside the cluster.
CM-2 — Baseline ConfigurationKubeflow security depends on hardened cluster and component configuration baselines.
Recommendation — Restrict pipeline and notebook permissions to the minimum actions each workload needs. Authenticate workload-to-workload access with strong service identities and secrets controls. Define and enforce secure configuration baselines for Kubeflow components and Kubernetes resources.
NIST Zero Trust (SP 800-207)Zero Trust ArchitectureKubeflow benefits from continuous verification between users, workloads and cluster services.
Recommendation — Apply zero-trust assumptions to notebook, pipeline and serving traffic instead of trusting the cluster boundary.
OWASP Non-Human Identity Top 10NHI-05 — Overprivileged NHIKubeflow workflows commonly use service accounts and other non-human credentials.
NHI-07 — Long-Lived SecretsKubeflow pipelines and notebooks often depend on stored secrets and tokens.
Recommendation — Audit non-human credentials attached to Kubeflow jobs and remove unnecessary privileges. Rotate and minimise secrets used by Kubeflow components so jobs do not rely on long-lived credentials.
OWASP API Security Top 10API5 — Broken Function Level AuthorizationKubeflow APIs and serving endpoints can expose privileged functions if authorization is weak.
Recommendation — Enforce function-level authorization on Kubeflow APIs and model-serving operations.

Practitioner Guidance

Why practitioners should care: Kubeflow is a shared control plane for ML delivery, so its risk profile is shaped by both platform configuration and workload permissioning. Treat each pipeline, notebook and serving component as a distinct security boundary, not as a harmless development convenience.

What to watch for: Review whether notebooks, dashboards and pipeline steps can reach more data or cloud privileges than they actually need, and confirm that service accounts are scoped to the smallest viable set of actions. If the platform is used for regulated or high-value models, governance should also cover who can promote artefacts and who can change execution permissions.

Practitioner takeaway: The safest Kubeflow deployments are the ones that are designed like production platforms from the start, with explicit identity, network and workload controls rather than inherited trust.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org