# CVE-2019-16097: Missing Authorization in Harbor

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 23.3%, higher than 97% of CVEs (2026-12-02)
- Published: 2019-09-08T15:22:49.000Z
- Modified: 2026-06-17T02:21:39.683Z
- Also known as: GHSA-9wvh-ff5f-xjpj, GO-2022-0818
- Weaknesses: CWE-862
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/goharbor/harbor (Go): from 1.7.0 before 1.9.0-rc1
- linuxfoundation harbor: 1.7.0; 1.7.1; 1.7.2; 1.7.3; 1.7.4; 1.7.5; 1.8.0; 1.8.1; 1.8.2; 1.9.0

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517> (fix, patch, third-party-advisory, web)
- <https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1> (patch, 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)
- <https://github.com/goharbor/harbor/releases/tag/v1.8.3> (third-party-advisory, web)
- <https://github.com/goharbor/harbor/releases/tag/v1.7.6> (third-party-advisory, web)
- <http://www.vmware.com/security/advisories/VMSA-2019-0015.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16097> (advisory)
- <https://github.com/ianxtianxt/CVE-2019-16097> (web)
- <https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097> (web)
- <https://github.com/advisories/GHSA-9wvh-ff5f-xjpj> (advisory)

## Sources

- CVE List: [CVE-2019-16097](https://www.cve.org/CVERecord?id=CVE-2019-16097), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-9wvh-ff5f-xjpj](https://github.com/advisories/GHSA-9wvh-ff5f-xjpj), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0818](https://pkg.go.dev/vuln/GO-2022-0818), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2019-16097](https://nvd.nist.gov/vuln/detail/CVE-2019-16097), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-16097 · Whole record: https://cve.day/CVE-2019-16097.json · Rebuilt by cve.day 2026-11-25T22:57:46.854Z
