{
  "schemaVersion": "ebb.rule.v1",
  "id": "container.clickhouse.eol-26.2-and-older",
  "ecosystem": "container",
  "purl": "pkg:docker/library/clickhouse",
  "affectedVersions": "vers:semver/<26.3.0",
  "event": "end-of-life",
  "severity": "high",
  "title": "ClickHouse image release lines 26.2 and older are end-of-life",
  "summary": "These ClickHouse release lines are listed as not supported with security updates in the vendor's security policy; 26.3 is the oldest line it still supports.",
  "replacement": "A clickhouse image on a supported release line",
  "sources": [
    {
      "title": "ClickHouse security policy: supported versions",
      "url": "https://github.com/ClickHouse/ClickHouse/blob/master/SECURITY.md",
      "accessedAt": "2026-10-20"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-20",
    "reviewedAt": "2026-10-20",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep the base image, Compose image, CI service containers, and deployment manifests that use clickhouse on one supported ClickHouse release line.",
      "Confirm the application and its data or configuration work on the target ClickHouse release; read the vendor's upgrade notes before moving across several release lines."
    ],
    "steps": [
      {
        "id": "update-image-declaration",
        "title": "Update the base image",
        "instructions": "Change the reported FROM line or Compose image to a tag on a supported release line, and pin it to a digest if your policy requires.",
        "targets": "declaration"
      },
      {
        "id": "align-image-surfaces",
        "title": "Align other image references",
        "instructions": "Update other Dockerfiles, Compose files, CI service containers, and deployment manifests that use the same image so they agree.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "docker build .",
        "purpose": "Build the image on the new base."
      },
      {
        "command": "docker run --rm IMAGE sh -c 'echo ok'",
        "purpose": "Confirm the container starts on the new base."
      }
    ]
  }
}
