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

github.com/goharbor/harbor Updated 02 Oct 2025

Summary

18/05/2021
Yes i
Moderate
4.9

CVE-2019-19026: 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Cloud Native Computing Foundation Harbor is a container registry that provides storage and distribution services for container images. It is designed to be a secure and scalable solution for managing container images in a cloud-native environment. The vulnerability identified as CVE-2019-19026 affects versions prior to 1.8.6 and 1.9.3 of Harbor. This vulnerability allows for SQL Injection through project quotas in the VMware Harbor Container Registry for the Pivotal Platform.

Vulnerability Detail

The SQL Injection vulnerability in Harbor allows an attacker to manipulate SQL queries by injecting malicious input into project quotas. This can lead to unauthorized access, data leakage, or even complete compromise of the Harbor system. The vulnerability is rated as moderate severity with a CVSS score of 4.9. It falls under CWE-89, which is the category for SQL Injection vulnerabilities.

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. The recommended approach is to upgrade to the fixed versions of Harbor.

Conclusion

The SQL Injection vulnerability in Cloud Native Computing Foundation Harbor can have serious consequences, including unauthorized access, data leakage, and compromise of the entire system. It is crucial to upgrade to the fixed versions of Harbor (1.8.6 or 1.9.3) to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

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

Share this vulnerability

FAQ

Harbor is a container registry that provides storage and distribution services for container images in a cloud-native environment.

SQL Injection is a type of vulnerability that allows an attacker to manipulate SQL queries by injecting malicious input. This can lead to unauthorized access, data leakage, or compromise of the affected system.

The SQL Injection vulnerability in Harbor can allow an attacker to manipulate SQL queries and potentially gain unauthorized access, leak sensitive data, or compromise the entire Harbor system.

To fix this vulnerability, it is recommended to upgrade to the fixed versions of Harbor (1.8.6 or 1.9.3) that include patches to prevent SQL Injection attacks.

There is no specific workaround mentioned for this vulnerability. Upgrading to the fixed versions of Harbor is the recommended approach.

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