Skip to content

Security

This document covers the security posture of the Superset Kubernetes Operator. It includes the threat model (trust boundaries, security assumptions, in-scope / out-of-scope concerns), secret handling, RBAC justification, security-relevant design decisions, and the vulnerability reporting process.

Trust Boundaries

The operator operates across three trust levels:

Role What they can do Trust level
Cluster admin Installs the operator, manages its RBAC and namespace Full trust
Namespace admin Creates and modifies Superset CRs in their namespace Trusted — can deploy arbitrary workloads
Superset end-user Accesses the Superset web UI and API Untrusted — no operator interaction

Key assumption: Granting create or update on the Superset CRD is equivalent to granting the ability to create Pods, Deployments, Jobs, Services (including NodePort and LoadBalancer if cluster policy allows), ConfigMaps, ServiceAccounts, Ingresses, HTTPRoutes, NetworkPolicies, HorizontalPodAutoscalers, PodDisruptionBudgets, and ServiceMonitors in that namespace, including choosing container images, commands, arguments, environment variables, volumes, and ServiceAccount references. This is inherent to the Kubernetes operator pattern and is not a vulnerability.

A Superset CR controls all of the above plus arbitrary Python configuration via spec.config. Restrict access to the supersets resource using Kubernetes RBAC.

Supervised upgrade approval is object-local and uses the superset.apache.org/approve-upgrade annotation on the Superset CR. This is not a separate authorization boundary from Superset write access: anyone with permission to patch or update the Superset resource can approve an image change by setting the annotation to the approval token recorded in status.lifecycle.upgrade.approvalToken. Clusters that need a distinct approver role that cannot modify the parent CR spec should enforce that separation with an external admission policy or a separate approval API.

Single Public CRD

The operator exposes one public custom resource, Superset. Component Deployments, Services, ConfigMaps, HPAs, PDBs, lifecycle task Jobs, networking, monitoring, and NetworkPolicies are reconciled as parent-owned Kubernetes resources. The superset-editor-role, superset-admin-role, and superset-viewer-role ClusterRoles bundled with the Kustomize install (the Helm chart does not ship them) therefore only need permissions for the supersets resource and its status subresource.

ServiceAccount Selection Is Part of CR Write Access

CR authors can set serviceAccount.name with serviceAccount.create: false to bind workloads to any existing ServiceAccount in the namespace — including ServiceAccounts linked to cloud IAM or workload-identity setups (IRSA, GKE Workload Identity, Azure AD). This is intentional and enables legitimate integration patterns, but it means a CR author inherits whatever permissions the selected ServiceAccount has. Cluster and namespace admins should treat "can create Superset CRs" as equivalent to "can run workloads under any ServiceAccount in this namespace" and restrict ServiceAccount distribution accordingly.

Security Model

Production/Staging vs Development Mode

The operator enforces a strict separation between hardened modes (Production and Staging) and Development:

  • Production/Staging (environment: Production is the default; Staging keeps the same secret rules but allows the destructive seed task): Inline secretKey, previousSecretKey, metastore.uri, metastore.password, valkey.password, websocket config, and lifecycle.seed.source.password are rejected by CRD CEL validation rules. Users reference Secret keys via the corresponding *From fields; structured metastore and Valkey connection fields also accept *From selectors for provisioner-owned connection details. The operator wires env-backed selectors as valueFrom.secretKeyRef (websocket configFrom is mounted as a file).
  • Development (environment: Development): Inline secrets are allowed for local development convenience. Additionally, lifecycle.init.adminUser and lifecycle.init.loadExamples are permitted — these create a default admin account and load sample data during initialization. Admin credentials from adminUser are stored as plain-text environment variables on the parent Superset CR and the resulting task Pod spec (visible to anyone with read access to these resources in the namespace). The admin password also appears in the Pod's process arguments via shell expansion.

Outside Development, the controller also re-checks the environment before using inline secrets, adminUser, or loadExamples, so a resource that bypasses CEL (for example on clusters older than Kubernetes 1.25, which ignore CRD validation rules) still cannot use them.

Development mode is intentionally less secure. It exists for local development with Kind or Minikube where secret management infrastructure is not available.

Secret Handling

In Staging and Production modes, secrets follow this path:

  1. User creates a Kubernetes Secret containing the secret key and database credentials
  2. User references the Secret via an operator-managed *From field on the Superset CR. For env-var references the operator injects valueFrom.secretKeyRef; for websocketServer.configFrom the operator mounts the referenced Secret key as a file. In every case the value is resolved by the kubelet at pod startup, not by the operator.
  3. The operator generates superset_config.py that renders SECRET_KEY = os.environ['SUPERSET_OPERATOR__SECRET_KEY'] — the actual secret value is resolved at Python runtime from the env var, so it never appears in the ConfigMap
  4. The operator does not need Kubernetes Secret read permissions for this flow and never reads, logs, writes, or stores secret values in ConfigMaps, CRD status fields, or Events

Task failure caveat: When a task Job fails, or a task Pod cannot start, the operator records a truncated message (max 256 bytes) in the parent Superset status and Kubernetes Events for debugging. The message comes from the Job's failure condition or the Pod's waiting and scheduling reasons; the operator does not read container logs. Before persisting, the operator applies best-effort pattern-based redaction to the message: passwords embedded in connection URIs (scheme://user:password@host), HTTP Authorization header and bearer token values, and common credential assignments (password=..., PGPASSWORD: ..., token=..., etc.) are masked. Because the operator never reads Secret values, redaction is by pattern rather than by exact value — credential fragments in unusual formats may still appear in status. This only applies to these Job and Pod messages, not to operator-managed secret references. Gaps in this redaction are treated as hardening bugs rather than vulnerabilities (see What Is Generally Out of Scope). Anyone who can read Superset resources or Events in the namespace can see these messages, so grant read access to them following the Kubernetes principle of least privilege.

Scope of this guarantee: The above applies to all operator-managed Secret references (secretKeyFrom, previousSecretKeyFrom, metastore and Valkey *From fields, lifecycle seed passwordFrom, and websocketServer.configFrom). User-authored fields — raw Python in spec.config, component-level config, bootstrapScript, and podTemplate.container.env — are trusted input and may contain arbitrary values including secrets. Users with read access to Superset CRs or the generated ConfigMaps will see any values placed in these fields. These are out of scope for the operator's secret handling guarantees (see What Is Generally Out of Scope).

Raw Python Configuration

The spec.config field accepts arbitrary Python code that is appended to the generated superset_config.py. This is by design — Superset's configuration system is Python-based and requires arbitrary Python for features like custom security managers, database drivers, and feature flags. The same trust model applies to bootstrapScript, custom lifecycle commands, container env vars, and mounted files: operator-managed secret transport avoids ConfigMap leakage, but user-supplied raw fields can still expose secrets if CR authors put secrets there directly.

Since CR creators can already deploy arbitrary containers (via image, command, args), the ability to inject Python does not expand the attack surface. Restrict who can create Superset CRs using Kubernetes RBAC.

CRD Validation

All validation is enforced via CEL rules embedded in the CRD schema (x-kubernetes-validations). No admission webhooks are used. This avoids the operational complexity of cert-manager and ensures validation is always active regardless of how the operator is deployed.

Key rules:

  • Production/Staging secret rejection: Inline secretKey, previousSecretKey, metastore.uri, metastore.password, valkey.password, websocket config, and lifecycle.seed.source.password are rejected outside Development mode
  • Development-only init steps: lifecycle.init.adminUser and lifecycle.init.loadExamples are rejected outside Development
  • No in-place exit from Production: a Production resource cannot be switched to Development or Staging in place, because that would re-enable inline secrets and the destructive seed against production Secret references. Delete and recreate it instead. (Staging can be switched to Development in place.)
  • Staging seed boundary: lifecycle.seed is allowed only in Development or Staging because it performs a destructive target database drop
  • Mutual exclusivity: every literal and its *From counterpart (secretKey, previousSecretKey, metastore, Valkey, and seed-source connection fields), metastore URI vs structured fields, websocket config/configFrom, gateway vs ingress
  • Ingress requires webServer: spec.networking.ingress rules target the web server service, so a CR cannot enable Ingress without webServer
  • Gateway requires at least one routable component: spec.networking.gateway routes to whichever of webServer, websocketServer, mcpServer, and celeryFlower are configured; a CR with only Beat and Worker cannot enable Gateway
  • Monitoring requires webServer: ServiceMonitor scrapes the web server service
  • Defaulting: environment defaults to Production, image repository and pull policy default via kubebuilder markers

CEL is the operator's built-in validation layer. Cluster operators who want defense-in-depth — for example, restricting which image.repository values are allowed, forbidding environment: Development outside specific namespaces, or requiring particular labels on every Superset CR — can layer a policy engine such as Kyverno, OPA Gatekeeper, or the Validating Admission Policy API on top of these CRD-level rules.

Design Decisions

The following design choices are intentional and documented here to avoid repeat review cycles:

  • Ingress CreateOrUpdate replaces the full spec. The reconcileIngress mutate function assigns ingress.Spec = networkingv1.IngressSpec{...} before building rules, so rules are rebuilt from scratch on every reconcile — they do not accumulate.
  • setCondition only moves LastTransitionTime on Status changes. A condition is rewritten when its Status, Reason, Message, or ObservedGeneration changes, but LastTransitionTime is only updated when Status changes (per Kubernetes API conventions).
  • FlatComponentSpec is shared across component Deployments and lifecycle tasks. Lifecycle tasks use Jobs (no Deployment), so fields like Autoscaling, PDB, and Replicas are unused. The parent controller clears Autoscaling and PDB before creating task Jobs; Replicas is ignored because Jobs have no replica count. A dedicated FlatInitSpec may be introduced in a future API version, but the shared struct avoids duplicating Image, PodTemplate, and ServiceAccountName today.
  • computeChecksum has an unreachable fallback. The fmt.Sprintf("%v") fallback after json.Marshal cannot fire for CRD types (which always marshal successfully). It exists as a defensive guard, not as an expected code path.
  • WebServer and McpServer share port 8088. These are separate Pods and Services, so identical port numbers do not conflict.
  • Generated Python and bootstrap wrapping use operator-controlled values. String fields interpolated into superset_config.py (key prefixes, SSL cert paths) come from CRD fields whose values are set by CR authors — trusted actors who can already deploy arbitrary containers. Raw Python in spec.config and shell in bootstrapScript are appended verbatim by design and are out of scope (see "What Is Generally Out of Scope" below).
  • Celery Flower is not published externally by default in Production. The operator's default Flower command runs without authentication, and the Flower dashboard discloses task names and arguments — for Superset, other users' async SQL Lab statements and alert/report payloads. In Production (the default) Flower is therefore excluded from the Ingress/Gateway per-component fan-out and the built-in NetworkPolicy does not open its port to all sources, until the user explicitly opts in by setting celeryFlower.service.gatewayPath. Opting in is the user's assertion that authentication has been placed in front of Flower (e.g. FLOWER_BASIC_AUTH injected from a Secret via celeryFlower.podTemplate.container.env, or ingress-layer authentication). Development and Staging publish Flower by default for convenience; see the networking user guide.
  • Celery Flower uses shell expansion for --url_prefix. The Flower default command uses /bin/sh -c to expand $SUPERSET_OPERATOR__FLOWER_URL_PREFIX, which is set from service.gatewayPath. The gatewayPath field is restricted to ^/[a-zA-Z0-9/_.-]+$ by CRD validation, preventing shell metacharacter injection. Additionally, CR creators can already override the command entirely via podTemplate.container.command, so this does not expand the attack surface.
  • ServiceAccount ownership. When serviceAccount.create is true (the default), the operator creates and owns the ServiceAccount. If a ServiceAccount with the specified name already exists and is not owned by the Superset CR, the operator refuses to adopt it and reports an error. Users who want to reference a pre-existing ServiceAccount should set create: false.
  • Managed resource adoption and cleanup. The operator reconciles managed resources at deterministic names derived from the Superset name. Kubernetes controller-owner semantics prevent adopting resources already controlled by another controller. Unowned resources with the same managed name may be adopted. Cleanup of component Deployments, Services, HPAs, and PDBs discovers resources by the operator's reserved parent and component labels, and falls back to the managed name only for resources this CR controls, so an unowned resource that merely shares a managed name (for example an HPA created with kubectl autoscale) is not deleted. Other cleanup paths may still delete unowned resources at a managed name. This is within the trust model: users who can create or update Superset CRs are trusted namespace operators and already have the effective ability to manage the corresponding workloads and resources.
  • Supervised upgrade approval uses a consumed, target-bound annotation. In supervised mode, an image change is gated on the superset.apache.org/approve-upgrade annotation matching the approval token recorded in status.lifecycle.upgrade.approvalToken. The token is derived from the observed source and target image refs, so a later image change produces a new token and requires a separate approval. Because the token is deterministic, a user who can write the resource can set the annotation in the same update as the image change; this is consistent with approval not being a separate authorization boundary (see Trust Boundaries). After lifecycle completion is persisted to status, the operator deletes the annotation so a stale approval cannot authorize a later image change. Kubernetes RBAC cannot grant metadata-only patch access, so the manager has patch on supersets; the implementation uses that permission only to remove the approval annotation from the parent resource.
  • NetworkPolicy provides baseline ingress segmentation, not egress restriction. When the built-in NetworkPolicy is enabled, the operator installs policies that isolate ingress between Superset instances and allow external clients to reach user-facing components (web, websocket, flower, MCP). Egress is intentionally unrestricted so workloads can reach the metastore database, Valkey, SMTP servers, object stores, and any other user-configured dependencies. Users who require strict egress isolation should disable the built-in policy and author their own.
  • Reserved superset.apache.org/* pod labels are unforgeable. The operator uses labels in the superset.apache.org/ namespace for pod discovery and isolation — superset.apache.org/parent selects an instance's pods in the per-instance NetworkPolicy ingress rules, and superset.apache.org/instance / superset.apache.org/init-task track lifecycle task pods. User-supplied pod-template labels under this prefix are stripped during resolution (and on the maintenance-page path, which does not use the resolver) and replaced with the operator-forced values, so a CR author cannot label their own pod with another instance's identity to slip inside its NetworkPolicy ingress isolation or misattribute task-pod state. This makes instance ingress isolation hold against CR authors, not only against compromised workload pods that cannot relabel themselves.
  • Metrics endpoint ships with a permissive TLS default. The bundled ServiceMonitor defaults to insecureSkipVerify: true against the manager's self-signed serving certificate so that Prometheus can scrape metrics out-of-the-box on clusters without cert-manager. Authentication and authorization are still enforced via bearer tokens validated by TokenReview/SubjectAccessReview (see RBAC Justification), so the endpoint is not anonymously accessible. Production deployments should switch to cert-manager-issued certificates and set insecureSkipVerify: false — charts/superset-operator/values.yaml documents the flip.

RBAC Justification

The operator runs with a ClusterRole to support managing Superset instances across namespaces. Each permission is justified below:

Resource Verbs Reason
configmaps CRUD Stores generated superset_config.py per component
services CRUD Exposes web server, Flower, websocket, MCP server
serviceaccounts CRUD Creates per-instance ServiceAccount for pod identity
pods get, list, watch Reads Job pods to verify drain progress and component readiness
jobs get, list, watch, create, delete Manages deterministic lifecycle task Jobs; re-runs delete and recreate a Job instead of updating it
events (events.k8s.io) create, patch, update Records reconciliation events
deployments CRUD Manages component Deployments
horizontalpodautoscalers CRUD Manages HPA for scalable components
poddisruptionbudgets CRUD Manages PDBs for availability
ingresses, networkpolicies CRUD Optional networking features
httproutes CRUD Optional Gateway API support
servicemonitors CRUD Optional Prometheus integration
tokenreviews, subjectaccessreviews create Metrics endpoint auth/authz (controller-runtime secure metrics)
supersets get, list, watch, patch Reads Superset CRs and patches metadata to consume target-bound supervised-upgrade approval; Kubernetes RBAC is not field-scoped
supersets/status get, update, patch Updates reconciliation status only
supersets/finalizers update Required to set blockOwnerDeletion owner references on parent-owned resources when the OwnerReferencesPermissionEnforcement admission plugin is enabled (e.g. OpenShift)

Leader election uses a separate namespace-local Role in the operator's namespace, with access to coordination.k8s.io leases and core events only.

The operator does not request:

  • * (wildcard) on any resource or verb
  • impersonate or RBAC management permissions
  • cluster-admin or equivalent
  • Kubernetes Secret read or write permissions

Install Scope

The operator supports two install modes, selectable at deploy time:

  • Cluster-scoped (default). The manager ServiceAccount is bound to the generated ClusterRole (manager-role) via a ClusterRoleBinding (manager-rolebinding), and the cache watches every namespace. Appropriate when a cluster admin administers the operator centrally. Helm: watch.scope: cluster.
  • Namespace-scoped. The manager watches only the namespaces listed in WATCH_NAMESPACE (comma-separated). Appropriate for restricted clusters that forbid ClusterRole creation, or for single-tenant installs that want a tighter blast radius.

Leader election is namespace-scoped in both modes: the operator binds the namespace-local Role leader-election-role to the manager ServiceAccount via the RoleBinding leader-election-rolebinding in the operator's own namespace, and the lease/lock objects live there too.

The RBAC shape differs between Helm and Kustomize for namespace-scoped installs:

  • Helm (watch.scope: namespaces) renders one Role and one RoleBinding per watched namespace, and does not create a manager ClusterRole/ClusterRoleBinding at all. With CRDs preinstalled by a cluster admin and metrics.enabled: false, this install succeeds on clusters that deny cluster-scoped RBAC to the installer (see the Constraints list below).
  • Kustomize (config/components/watch-namespace/) retains the controller-gen–generated ClusterRole but replaces the ClusterRoleBinding with a namespaced RoleBinding pointing at that same ClusterRole. A RoleBinding → ClusterRole pairing restricts the granted permissions to the binding's namespace. The Kustomize path therefore still requires cluster-scoped RBAC at install time for the ClusterRole; its runtime footprint is namespace-scoped.

Constraints common to both paths:

  • CRD installation always needs cluster-admin. CRDs are cluster-scoped resources; watch-scope does not change that.
  • Secure metrics auth still needs cluster-scoped RBAC. The metrics endpoint uses TokenReview/SubjectAccessReview, which are cluster-level APIs. On clusters that forbid ClusterRole entirely, disable metrics (metrics.enabled: false in Helm values).
  • Changing the watched-namespace list requires a manager restart. The manager cache is built at startup; dynamic reconfiguration is not supported.
  • Superset CRs in unwatched namespaces are silently ignored. The operator logs the watched set at startup but does not detect stray CRs elsewhere — confirm by tailing the startup log or listing Supersets across namespaces manually if users report missing reconciliation.

What Is In Scope

The following are valid security concerns for this project:

  • Operator-managed Secret references (secretKeyFrom, metastore and Valkey *From fields, and the other selectors listed under Secret Handling) leaking into ConfigMaps, Events, logs, or CRD status in Staging or Production mode
  • Privilege escalation via the operator's RBAC permissions
  • CRD validation bypass (e.g., crafting a CR that evades CEL rules)
  • The operator container's own security posture (it runs as non-root, read-only, all capabilities dropped)
  • Supply chain issues in the operator's build and release pipeline
  • Vulnerabilities in the operator binary itself

Note on workload security contexts: The operator hardens the main container of every component Deployment and lifecycle task Job, and the create-database init container, with allowPrivilegeEscalation: false, all capabilities dropped, and seccompProfile: RuntimeDefault. Each default is filled only where the field is unset, so values from podTemplate.podSecurityContext and podTemplate.container.securityContext always win. The seccomp default is skipped when a pod-level seccomp profile is set. The operator does not default runAsNonRoot, runAsUser, or readOnlyRootFilesystem on these containers, and it leaves user-provided sidecars and init containers unchanged. The exceptions are the create-database init container and the maintenance-page container, which run fixed operator-chosen images and also default to a non-root user. runAsNonRoot and runAsUser stay unset because the Superset image declares a named user and no numeric UID works across both vanilla Kubernetes and OpenShift. Meeting the restricted Pod Security Standard therefore still needs user-provided non-root settings. The production sample shows recommended settings. Workload hardening beyond these defaults is the user's responsibility (see What Is Generally Out of Scope).

Recommendation — Pod Security Admission: The operator manager Pod is configured to satisfy the restricted Pod Security Standard (non-root, read-only root filesystem, all capabilities dropped, seccompProfile: RuntimeDefault, allowPrivilegeEscalation: false). For defense in depth, label the operator's namespace with pod-security.kubernetes.io/enforce: restricted so the apiserver rejects any Pod that drifts from this baseline.

Supply Chain

The release pipeline produces signed multi-architecture artifacts:

  • Base images: the build stage uses a fully-qualified Go patch tag and the runtime stage uses gcr.io/distroless/static:nonroot — no shell, no package manager, no unnecessary binaries. The Dockerfile pins both by digest and Renovate keeps them current (digest refreshes are applied without the version soak — see the dependency policy below).
  • Architectures: linux/amd64 and linux/arm64 are built and signed identically.
  • Image signatures: The release workflow signs the manager image and the packaged Helm chart with Cosign using GitHub Actions OIDC (keyless). The same workflow identity also signs throwaway dev builds (pushes to main and workflow_dispatch runs), which are not gated on release CI, so verification must pin the release-tag signing identity — a permissive identity match would also accept an ungated dev build. Verify releases with:

    cosign verify \
      --certificate-oidc-issuer https://token.actions.githubusercontent.com \
      --certificate-identity-regexp '^https://github\.com/apache/superset-kubernetes-operator/\.github/workflows/release\.yml@refs/tags/v.*$' \
      ghcr.io/apache/superset-kubernetes-operator@<digest>
    

    The @refs/tags/v* constraint in the certificate identity is what binds the signature to a CI-gated release build: images signed from refs/heads/main are development builds and must not be treated as releases, even though their signatures are otherwise valid. Verify the signed Helm chart the same way against ghcr.io/apache/superset-kubernetes-operator/charts/superset-operator:<version>. - Dependency policy: Go modules, GitHub Actions, and container base images are kept current via Renovate with pinned versions and a 7-day minimum age before a version update is proposed. This soak does not apply to digest updates: when a floating tag is re-pushed to a new digest for the same version (a base-OS rebuild, or a patch published under a rolling tag), Renovate proposes the digest bump immediately, because minimumReleaseAge gates versions, not digests. Go minor and major upgrades are soaked version updates, but Go patch and digest bumps deliberately skip the soak, because they carry the toolchain security fixes that govulncheck gates on. Renovate's vulnerability-alert PRs also skip the soak. The distroless runtime base has no semantic-version tag, so its digest refreshes are inherently un-soaked. This residual exposure is accepted and bounded by the minimal distroless base and by keyless Cosign signing of the image this project itself publishes. - SBOM & provenance: Each published image carries a per-platform Software Bill of Materials (SPDX) and SLSA build provenance, attached as in-toto attestations by BuildKit at build time. Inspect them with docker buildx imagetools inspect ghcr.io/apache/superset-kubernetes-operator:<tag> --format '{{ json .SBOM }}' (or .Provenance), or with cosign download attestation. - Vulnerability scanning: CI runs govulncheck against the Go source (reachable CVEs in dependencies and the standard library), failing the build on findings, and Trivy against the built image (OS and shipped-binary CVEs), with Trivy results uploaded to GitHub code scanning. CodeQL provides static analysis of the Go code. - Supply-chain posture: An OpenSSF Scorecard workflow runs on a schedule and publishes the project's score (linked from the README badge).

What Is Generally Out of Scope

The following areas are usually outside this project's security scope. Reports are still welcome when they show that the operator changes the expected trust boundary, weakens Kubernetes controls, leaks operator-managed secrets, or makes one of these conditions materially worse:

  • Superset application vulnerabilities — report these to the Apache Superset project
  • Database or cache security — the operator does not manage PostgreSQL or Valkey instances; their security is the user's responsibility
  • Kubernetes control plane vulnerabilities — report these to the Kubernetes security team
  • Development mode allows inline secrets — this is intentional and documented for local development; Production mode is the enforced default. lifecycle.init.adminUser and lifecycle.init.loadExamples are also Development-only features, rejected by CRD validation in Staging and Production
  • CR creators can deploy arbitrary workloads — creating or updating any Superset CRD is equivalent to creating Pods with chosen images, commands, env vars, volumes, and ServiceAccounts; this is inherent to the operator pattern and is the expected trust model (see Trust Boundaries)
  • Arbitrary Python via spec.config — this field accepts raw Python by design; CR creators can already deploy arbitrary containers, so Python configuration does not expand the attack surface
  • Lifecycle seed task command is trusted input — the lifecycle.seed task runs whatever image and command the CR author configures, so shell and SQL content embedded in that command is trusted input. CR authors already deploy arbitrary containers, so the seed task does not expand the attack surface. Review seed commands as part of CR review, not as a separable vulnerability class.
  • Container image vulnerabilities — the operator does not control the contents of the Superset container image
  • Workload pod security contexts — the operator fills only the container defaults described in the workload security contexts note and propagates everything else the user configures. Non-root settings, a read-only root filesystem, and hardening of user-provided sidecars and init containers are the user's responsibility (see the production sample for recommended settings)
  • Websocket server is experimental and pending security hardening — the websocketServer component is not yet well supported and may exhibit gaps, either in the operator (e.g. unvalidated gateway/ingress routing) or upstream in the Node.js websocket image, which is community-maintained and not part of the default Superset image. Treat it as subject to change and avoid enabling it in production until it is hardened. Note that in Development mode the inline websocketServer.config is written to a ConfigMap — the one place an inline secret (e.g. the websocket JWT secret) legitimately lands in a ConfigMap. Staging and Production reject inline config and require websocketServer.configFrom, which mounts the referenced Secret as a file.
  • Redaction bypasses in task failure output: the operator never reads Secret values, so it can only mask task failure messages by pattern. A credential format that slips past the redaction is a hardening bug, not a vulnerability. Fixes are welcome as regular issues and PRs and ship with the next regular release (see the task failure caveat)
  • Network-level attacks (MITM, DNS spoofing) — these are infrastructure concerns outside the operator's control
  • Missing features (e.g., "should support Vault integration") — these are normally handled as feature requests unless the missing behavior creates a concrete security regression in the operator

Reporting Vulnerabilities

The Apache Superset Kubernetes Operator project follows the Apache Software Foundation vulnerability handling process.

To report a security vulnerability, please email security@apache.org.

Please do not file a public GitHub issue for security vulnerabilities.

Supported Versions

Version Supported
v1alpha1 (latest) Yes

Component Scope

This policy covers the Superset Kubernetes Operator and its components:

  • CRD definitions and CEL validation rules
  • Controller reconciliation logic
  • RBAC and resource management
  • Helm chart and deployment manifests

The websocketServer component is experimental and pending security hardening (see What Is Generally Out of Scope); its guarantees are best-effort until that work is complete.