CVE-2019-16097 json
Missing Authorization in Harbor
published 2019-09-08 7 y ago modified 2026-06-17 4 mo ago also GHSA-9wvh-ff5f-xjpj , GO-2022-0818 , EUVD-2022-0946
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 22.4%
- EPSS 22.4% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- go github.com/goharbor/harbor 1.9.0-rc1
Exploit prediction
22.44% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Harbor <=1.82.0 - Privilege Escalation nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/goharbor/harbor | >=1.7.0, <1.9.0-rc1 |
1.9.0-rc1 |
Classification
- Weakness
-
- CWE-862 Missing Authorization
References
-
github.com
/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517
web, patch, third-party-advisory
-
github.com
/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1
web, patch, third-party-advisory
-
unit42.paloaltonetworks.com
/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/
third-party-advisory
-
github.com
/goharbor/harbor/releases/tag/v1.8.3
web, third-party-advisory
-
github.com
/goharbor/harbor/releases/tag/v1.7.6
web, third-party-advisory
-
vmware.com
/security/advisories/VMSA-2019-0015.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-16097
advisory
-
github.com
/ianxtianxt/CVE-2019-16097
web
-
unit42.paloaltonetworks.com
/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097
web
-
github.com
/advisories/GHSA-9wvh-ff5f-xjpj
advisory
Sources
- CVE List CVE-2019-16097
- GitHub Advisory GHSA-9wvh-ff5f-xjpj
- NVD CVE-2019-16097
- OSV GO-2022-0818
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.