CVE-2019-19029: SQL Injection in Cloud Native Computing Foundation Harbor
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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.61.8.6go get github.com/goharbor/harbor@v1.8.6 -
>= 1.9.0, < 1.9.31.9.3go 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 →
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.