CVE-2019-19029: SQL Injection in Cloud Native Computing Foundation Harbor

github.com/goharbor/harbor Updated 02 Oct 2025

Summary

18/05/2021
Yes i
High
7.2

CVE-2019-19029: SQL Injection in Cloud Native Computing Foundation Harbor. Affects github.com/goharbor/harbor across 2 version ranges.

>= 1.7.0, < 1.8.6 >= 1.9.0, < 1.9.3

Fixed in 1.8.6 or 1.9.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Cloud Native Computing Foundation Harbor is a container registry that provides storage and distribution services for container images. It is used in the VMware Harbor Container Registry for the Pivotal Platform. The vulnerability in question allows for SQL Injection via user-groups, potentially leading to unauthorized access and manipulation of the registry's database.

Vulnerability Detail

The SQL Injection vulnerability in Cloud Native Computing Foundation Harbor arises from improper input validation of user-groups. An attacker can exploit this vulnerability by injecting malicious SQL queries into user-group parameters, potentially bypassing authentication and gaining unauthorized access to the registry's database. This can result in data theft, data manipulation, or even a complete compromise of the registry's security.

How To Fix

Latest published version: v2.15.4+incompatible as of 23 Oct 2026

go get github.com/goharbor/harbor@v2.15.4+incompatible

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.7.0, < 1.8.6 1.8.6
    go get github.com/goharbor/harbor@v1.8.6
  • >= 1.9.0, < 1.9.3 1.9.3
    go get github.com/goharbor/harbor@v1.9.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to upgrade to the fixed versions as soon as possible.

Conclusion

The SQL Injection vulnerability in Cloud Native Computing Foundation Harbor can lead to unauthorized access and manipulation of the registry's database. It is crucial to upgrade to the fixed versions (1.8.6 or 1.9.3) to mitigate this vulnerability and ensure the security of the registry. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/goharbor/harbor →

Share this vulnerability

FAQ

Cloud Native Computing Foundation Harbor is a container registry that provides storage and distribution services for container images. It is commonly used in the VMware Harbor Container Registry for the Pivotal Platform.

SQL Injection is a type of vulnerability that allows an attacker to manipulate SQL queries by injecting malicious code. In the case of this vulnerability, it allows an attacker to inject SQL queries via user-groups in Cloud Native Computing Foundation Harbor.

The potential consequences of this vulnerability include unauthorized access to the registry's database, data theft, data manipulation, and compromise of the registry's security.

To fix this vulnerability, it is recommended to upgrade Cloud Native Computing Foundation Harbor to version 1.8.6 or 1.9.3, which include the necessary patches and fixes to prevent SQL Injection attacks.

There is no specific workaround mentioned for this vulnerability. It is advised to upgrade to the fixed versions as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/goharbor/harbor.

How To Fix

Latest published version: v2.15.4+incompatible as of 23 Oct 2026

go get github.com/goharbor/harbor@v2.15.4+incompatible

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.7.0, < 1.8.6 1.8.6
    go get github.com/goharbor/harbor@v1.8.6
  • >= 1.9.0, < 1.9.3 1.9.3
    go get github.com/goharbor/harbor@v1.9.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback