CVE-2019-16097: Missing Authorization in Harbor

github.com/goharbor/harbor Updated 02 Oct 2025

Summary

15/02/2022
Yes i
Moderate
6.5

CVE-2019-16097: Missing Authorization in Harbor. Affects github.com/goharbor/harbor versions >= 1.7.0, < 1.9.0-rc1. Fixed in 1.9.0-rc1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Harbor is an open-source container image registry that provides secure storage and distribution of container images. It is written in Go and is widely used in containerized environments. The vulnerability in Harbor version 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API. This means that unauthorized users can gain administrative privileges, potentially leading to unauthorized access, data breaches, and other security issues.

Vulnerability Detail

The vulnerability arises from a flaw in the core/api/user.go file of Harbor. It allows non-admin users to exploit the POST /api/users API to create admin accounts. This means that any user with non-admin privileges can elevate their privileges and gain administrative access to the Harbor system. The vulnerability has a CVSS score of 6.5, indicating a moderate severity level. The CWE ID associated with this vulnerability is CWE-862.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.0-rc1

This is the first release that contains the fix.

go get github.com/goharbor/harbor@v1.9.0-rc1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version to mitigate the risk.

Conclusion

The vulnerability in Harbor allows non-admin users to create admin accounts, leading to unauthorized access and potential security issues. To mitigate this vulnerability, it is recommended to upgrade to Harbor version 1.9.0-rc1 or later. Upgrading will patch the vulnerability and ensure the system's security. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows non-admin users to create admin accounts, potentially granting them unauthorized access and administrative privileges. This can lead to unauthorized actions, data breaches, and other security issues.

Harbor versions 1.7.0 through 1.8.2 are affected by this vulnerability. Users of these versions should upgrade to the fixed version to secure their systems.

No, there is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.

The CVSS score of this vulnerability is 6.5, indicating a moderate severity level.

There are no known exploits for this vulnerability at the time of this report. However, it is crucial to upgrade to the fixed version to prevent potential exploitation.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.0-rc1

This is the first release that contains the fix.

go get github.com/goharbor/harbor@v1.9.0-rc1

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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