CVE-2019-16097Linuxfoundation Harbor
Medium 6.5 High EPSS
Follow: this CVE · Linuxfoundation · Linuxfoundation Harbor We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.5
- EPSS
- 22.4% probability of exploitation in 30 days · percentile 98
- Auth required
- Yes
- Published
- Sep 8, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Harbor.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/goharbor/harbor |
≥ 1.7.0 < 1.9.0-rc1 |
1.9.0-rc1 |
go get github.com/goharbor/harbor@v1.9.0-rc1 |
| Go | github.com/goharbor/harbor |
≥ 1.7.0 < 1.9.0-rc1 |
1.9.0-rc1 |
go get github.com/goharbor/harbor@v1.9.0-rc1 |
Per OSV / GitHub Advisories (GHSA-9wvh-ff5f-xjpj, GO-2022-0818). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | harbor | 1.7.0 |
| linuxfoundation | harbor | 1.7.0 |
| linuxfoundation | harbor | 1.7.0 |
| linuxfoundation | harbor | 1.7.1 |
| linuxfoundation | harbor | 1.7.2 |
| linuxfoundation | harbor | 1.7.3 |
| linuxfoundation | harbor | 1.7.4 |
| linuxfoundation | harbor | 1.7.5 |
| linuxfoundation | harbor | 1.8.0 |
| linuxfoundation | harbor | 1.8.0 |
| linuxfoundation | harbor | 1.8.0 |
| linuxfoundation | harbor | 1.8.1 |
| linuxfoundation | harbor | 1.8.2 |
| linuxfoundation | harbor | 1.8.2 |
| linuxfoundation | harbor | 1.8.2 |
| linuxfoundation | harbor | 1.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.vmware.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- unit42.paloaltonetworks.com Third Party Advisory