Skip to content
Harbor

Harbor

License: Free (Open-Source, Apache 2.0)
Suphi Cankurt
Suphi Cankurt
+8 Years in AppSec
Updated May 19, 2026
4 min read
Key Takeaways
  • CNCF graduated project (since June 2020) with 30.5k GitHub stars โ€” the most widely adopted open-source cloud native container registry.
  • Built-in vulnerability scanning with pluggable backends including Trivy, Clair, and Anchore โ€” scan-on-push policies block vulnerable images before deployment.
  • Supports artifact signing with Cosign and Notation for supply chain security, plus content trust policies that enforce only signed images can be pulled.
  • Multi-registry replication syncs images across data centers, cloud regions, or hybrid environments with policy-based filters on repositories, tags, and labels.
Latest Updates
  • v2.14.4 cherry-picked two session security fixes โ€” corrected SessionRegenerate save arguments and lifetime, and stopped background polling from renewing session TTL โ€” closing a session-persistence gap. source
  • v2.14.4 bumped Go to 1.25.9 and switched to goharbor/photon:5.0 base images for a refreshed runtime baseline. source
  • v2.15.1 fixed Docker Hub adapter authentication by calling /v2/auth/token for the bearer token; also restored last-pull-time for parent/child artifacts. source
  • v2.15.0 added a tag-deletion option for garbage collection, letting operators reclaim storage from deprecated tags during normal GC runs. source

Harbor is an open-source cloud native container registry that stores, signs, and scans container images and OCI artifacts. It is a CNCF graduated project (since June 2020) and the most widely adopted open-source container registry, with 30.5k GitHub stars and 5.1k forks.

Harbor container registry vulnerability scan report for a Cassandra image showing detected CVEs with severity indicators, affected package names, current versions, and fixed versions available for remediation

What is Harbor?

Harbor is a self-hosted container registry that adds vulnerability scanning, content trust, multi-registry replication, and role-based access control on top of the Docker Distribution registry. VMware open-sourced it in 2016, it joined the CNCF in July 2018, and it graduated in June 2020 โ€” making it the first open-source registry to reach CNCF graduated status.

Organizations run Harbor when they need a private container registry with security controls that hosted registries charge for or simply do not offer. Air-gapped environments, regulated industries, and multi-cloud setups are the typical use cases.

How does Harbor scan for vulnerabilities?

Harbor scans container images for known vulnerabilities using pluggable scanner backends. Trivy is the default scanner since Harbor v2.2 (it replaced Clair as the default in 2021).

Clair and Anchore Enterprise also work through Harbor’s scanner adapter framework, letting organizations choose the scanning engine that fits their existing toolchain. Scanner choice is set per project, so different teams on the same Harbor instance can use different engines.

Scan-on-push policies automatically scan every image when it hits the registry. Reports show CVE IDs, severity levels, affected packages, and fixed versions, all aligned to the project’s selected scanner.

Projects can set a CVE allowlist to ignore known-but-accepted vulnerabilities, plus a severity threshold (e.g. “Critical”) that blocks pulls when the threshold is exceeded. That turns the registry into a deploy-time gate โ€” vulnerable images never make it out of Harbor and into a running cluster.

Does Harbor support image signing?

Harbor supports artifact signing through Cosign (part of the Sigstore project) and Notation. The legacy Notary v1 path is deprecated โ€” Cosign + Sigstore is the recommended stack on modern Harbor.

When content trust is enabled on a project, only signed artifacts can be pulled. Unsigned or tampered images get blocked, preventing compromised images from reaching production.

Signing policies live at the project level, so different projects can enforce different verification rules. Cosign supports keyless signing through OIDC and Sigstore Fulcio, which lets CI pipelines sign images using short-lived workload identities instead of long-lived signing keys checked into a vault.

Signatures replicate alongside their associated artifacts. When a replication rule covers a signed image, Harbor copies the signature too, so the chain of trust holds across registries. Verification on pull is typically enforced via a Kubernetes admission controller (Cosign policy controller, Kyverno, or OPA Gatekeeper) so untrusted images cannot land on a cluster even if Harbor’s content-trust setting is misconfigured.

Replication and multi-site deployment

Harbor replicates images between registry instances based on configurable policies. You can filter by repository, tag, or label. Replication runs on a schedule or triggers on push.

Replication targets include other Harbor instances, Docker Hub, AWS ECR, Google GCR/GAR, Azure ACR, and any OCI-compliant registry. This handles multi-datacenter deployments, disaster recovery, and hybrid cloud workflows.

Access control and multi-tenancy

Harbor organizes content into projects. Each project gets its own RBAC policies, scan settings, quota limits, and tag retention rules.

Authentication plugs into LDAP, Active Directory, OIDC providers, or the built-in database.

Robot accounts give CI/CD pipelines non-human access with scoped permissions and expiration dates. Audit logs track who pushed, pulled, deleted, or scanned artifacts.

Who should use Harbor?

Harbor is designed for organizations that need a self-hosted container registry with enterprise security controls.

Platform teams running Kubernetes in production, companies with data residency requirements, and teams operating in air-gapped or classified environments are typical users.

Harbor is free under the Apache 2.0 license with no commercial tiers.

If you only need a hosted registry and your security requirements are basic, Docker Hub or your cloud provider’s registry (ECR, GCR, ACR) may be simpler. Harbor makes sense when you need vulnerability scanning, content trust, RBAC, and replication under your own control.

What are Harbor’s limitations?

Harbor is self-hosted, meaning you provision and maintain the infrastructure: PostgreSQL database, Redis, storage backend, the core service, and the chosen scanner. That is more operational work than a managed registry like ECR or Artifactory SaaS.

Image promotion and staging workflows are basic compared to JFrog Artifactory. Harbor handles project-to-project copying via replication rules, but it does not have first-class “build โ†’ staging โ†’ prod” promotion pipelines, immutable tag promotion, or release-train tooling out of the box.

Helm chart hosting is intentionally minimal. Harbor v2.8+ stores Helm charts as OCI artifacts (which is the modern recommendation), but if you need ChartMuseum-style chart management, browsing, or release notes, you will likely run a separate tool.

Harbor handles image storage and security only โ€” it does not include CI/CD pipelines or build capabilities, and there is no built-in vulnerability auto-remediation. For runtime container security, pair it with Falco or NeuVector .

Recent releases

Harbor v2.15.0 (March 2026) adds tag deletion options in garbage collection, a UI for limiting upstream registry connections, and backend storage improvements. This is a notable release for teams managing large registries where garbage-collection efficiency and upstream connection control matter.

Harbor v2.14 (late 2025) shipped robot account scope improvements and audit log enhancements that make CI integration easier to lock down. Harbor v2.13 (mid-2025) was the last release to broaden scanner adapter coverage and OCI artifact handling.

For the current stable tag at any time, check the Harbor releases page on GitHub โ€” Harbor follows a roughly quarterly release cadence and 2.x is still the active major as of April 2026 (no 3.x GA). Production users should track the latest 2.15.x patch release for security fixes.

Frequently Asked Questions

What is Harbor?
Harbor is an open-source cloud native container registry with 30.5k GitHub stars. It is a CNCF graduated project (since June 2020) that stores, signs, and scans container images and OCI artifacts. Originally open-sourced by VMware in 2016, it joined the CNCF in 2018.
Is Harbor free to use?
Yes, Harbor is free and open-source under the Apache 2.0 license. It is a CNCF graduated project with no commercial tiers. Organizations self-host Harbor on their own infrastructure.
What vulnerability scanners does Harbor support?
Harbor includes Trivy as its default vulnerability scanner. Through its pluggable scanner framework, it also supports Clair and Anchore Enterprise as alternative backends. Administrators can configure scan-on-push policies to automatically scan every image when it is pushed to the registry.
Does Harbor support image signing?
Yes, Harbor supports artifact signing via Cosign (part of the Sigstore project) and Notation. Administrators can configure content trust policies that enforce only signed artifacts can be pulled from a project, preventing unsigned or tampered images from reaching production.
How does Harbor compare to Docker Hub?
Docker Hub is a hosted SaaS registry. Harbor is a self-hosted, open-source registry you run on your own infrastructure. Harbor offers built-in vulnerability scanning, image signing, RBAC, audit logging, and multi-registry replication โ€” features that require Docker Hub paid plans or are unavailable. Organizations choose Harbor when they need data sovereignty, air-gapped deployments, or fine-grained access control.