{"id":"CVE-2019-16097","aliases":["GHSA-9wvh-ff5f-xjpj","GO-2022-0818"],"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...","published_at":"2019-09-08T15:22:49Z","modified_at":"2026-03-03T04:50:56.481537Z","products":[{"slug":"harbor","name":"Harbor","category":"gitops-cicd"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[{"source":"nuclei-templates","id":"http/cves/2019/CVE-2019-16097","name":"Harbor <=1.82.0 - Privilege Escalation","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-16097.yaml","verified":false}],"epss":{"score":0.22442999482154846,"percentile":0.9774600267410278,"date":"2026-11-19T00:00:00Z"},"priority":8.75,"details":"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.","affected_stack":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}],"fixed":["1.9.0-rc1"],"provider":"osv","source":"GHSA-9wvh-ff5f-xjpj","relation":"self"},{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}],"fixed":["1.9.0-rc1"],"provider":"osv","source":"GO-2022-0818","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"linuxfoundation:harbor","versions":["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"],"provider":"nvd","source":"CVE-2019-16097","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2019-16097","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2019-16097","license":"CC-BY-4.0","published_at":"2019-09-08T15:22:49Z","modified_at":"2024-08-05T01:03:32.654Z","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...","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517"},{"type":"WEB","url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1"},{"type":"WEB","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6"},{"type":"WEB","url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html"}]},{"provider":"nvd","source_id":"CVE-2019-16097","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097","severity":[],"affected":[{"ecosystem":"NVD","package":"linuxfoundation:harbor","versions":["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"],"provider":"nvd","source":"CVE-2019-16097","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-9wvh-ff5f-xjpj","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9wvh-ff5f-xjpj","license":"CC-BY-4.0","published_at":"2022-02-15T01:57:18Z","modified_at":"2024-08-21T15:58:49.524137Z","summary":"Missing Authorization in Harbor","details":"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. This is fixed in 1.9.0-rc1.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"GHSA-9wvh-ff5f-xjpj"}],"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}],"fixed":["1.9.0-rc1"],"provider":"osv","source":"GHSA-9wvh-ff5f-xjpj","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097"},{"type":"WEB","url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517"},{"type":"WEB","url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3"},{"type":"WEB","url":"https://github.com/ianxtianxt/CVE-2019-16097"},{"type":"WEB","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097"},{"type":"WEB","url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html"}]},{"provider":"osv","source_id":"GO-2022-0818","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0818","license":"CC-BY-4.0","published_at":"2024-08-21T15:29:02Z","modified_at":"2026-03-03T04:50:56.481537Z","summary":"Missing Authorization in Harbor in github.com/goharbor/harbor","details":"Missing Authorization in Harbor in github.com/goharbor/harbor","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}],"fixed":["1.9.0-rc1"],"provider":"osv","source":"GO-2022-0818","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9wvh-ff5f-xjpj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097"},{"type":"FIX","url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517"},{"type":"WEB","url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html"},{"type":"WEB","url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3"},{"type":"WEB","url":"https://github.com/ianxtianxt/CVE-2019-16097"},{"type":"WEB","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097"}]}],"references":[{"type":"WEB","url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517"},{"type":"WEB","url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1"},{"type":"WEB","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3"},{"type":"WEB","url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6"},{"type":"WEB","url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097"},{"type":"WEB","url":"https://github.com/ianxtianxt/CVE-2019-16097"},{"type":"WEB","url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9wvh-ff5f-xjpj"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2019-16097","url":"https://www.cve.org/CVERecord?id=CVE-2019-16097","license":"CC-BY-4.0","modified_at":"2024-08-05T01:03:32.654Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2019-16097","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097","relation":"self"},{"provider":"osv","source_id":"GHSA-9wvh-ff5f-xjpj","url":"https://osv.dev/vulnerability/GHSA-9wvh-ff5f-xjpj","license":"CC-BY-4.0","modified_at":"2024-08-21T15:58:49.524137Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0818","url":"https://osv.dev/vulnerability/GO-2022-0818","license":"CC-BY-4.0","modified_at":"2026-03-03T04:50:56.481537Z","relation":"self"}]}
