CVE-2019-16097
MEDIUM 6.5CVSS 3.1Missing Authorization in Harbor
core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API, when Harbor is setup with DB as authentication backend and allow user to do self-registration. Fixed version: v1.7.6 v1.8.3. v.1.9.0. Workaround without applying the fix: configure Harbor to use non-DB authentication backend such as LDAP.
- Published
- 8 Sep 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-862
- Also known as
- GHSA-9wvh-ff5f-xjpjGO-2022-0818
- Sources
- NVDJSONOSV GHSA-9wvh-ff5f-xjpjJSONOSV GO-2022-0818JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.0:-:*:*:*:*:*:* |
= 1.7.0 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.0:rc1:*:*:*:*:*:* |
= 1.7.0 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.0:rc2:*:*:*:*:*:* |
= 1.7.0 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.1:*:*:*:*:*:*:* |
= 1.7.1 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.2:*:*:*:*:*:*:* |
= 1.7.2 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.3:*:*:*:*:*:*:* |
= 1.7.3 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.4:*:*:*:*:*:*:* |
= 1.7.4 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.7.5:*:*:*:*:*:*:* |
= 1.7.5 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.0:-:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.0:rc1:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.0:rc2:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.1:*:*:*:*:*:*:* |
= 1.8.1 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.2:-:*:*:*:*:*:* |
= 1.8.2 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.2:rc1:*:*:*:*:*:* |
= 1.8.2 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.8.2:rc2:*:*:*:*:*:* |
= 1.8.2 | |
| NVD | linuxfoundation | harborcpe:2.3:a:linuxfoundation:harbor:1.9.0:rc1:*:*:*:*:*:* |
= 1.9.0 | |
| OSV | Go | github.com/goharbor/harbor | >= 1.7.0, < 1.9.0-rc1 | 1.9.0-rc1 |
References
- http://www.vmware.com/security/advisories/VMSA-2019-0015.html · Third Party Advisory, WEB
- https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1 · Patch, Third Party Advisory, WEB
- https://github.com/goharbor/harbor/releases/tag/v1.7.6 · Third Party Advisory, WEB
- https://github.com/goharbor/harbor/releases/tag/v1.8.3 · Third Party Advisory, WEB
- https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-16097 · ADVISORY
- https://github.com/ianxtianxt/CVE-2019-16097 · WEB
- https://github.com/advisories/GHSA-9wvh-ff5f-xjpj · ADVISORY
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 8 Sep 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Feb 2022)