{"id":"CVE-2019-16097","aliases":["EUVD-2022-0946","GHSA-9wvh-ff5f-xjpj","GO-2022-0818"],"status":"published","title":"Missing Authorization in Harbor","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.22443,"percentile":0.97714,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-862"],"published":"2019-09-08T15:22:49Z","modified":"2026-10-20T10:50:45Z","exploits":[{"source":"nuclei","id":"CVE-2019-16097","title":"Harbor \u003c=1.82.0 - Privilege Escalation","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-16097.yaml"},{"source":"pocgithub","id":"dacade/cve-2019-16097","title":"dacade/cve-2019-16097","date":"2019-09-25","url":"https://github.com/dacade/cve-2019-16097"},{"source":"pocgithub","id":"evilAdan0s/CVE-2019-16097","title":"evilAdan0s/CVE-2019-16097","date":"2019-09-19","url":"https://github.com/evilAdan0s/CVE-2019-16097"},{"source":"pocgithub","id":"ianxtianxt/CVE-2019-16097","title":"ianxtianxt/CVE-2019-16097","date":"2019-09-22","url":"https://github.com/ianxtianxt/CVE-2019-16097"},{"source":"pocgithub","id":"luckybool1020/CVE-2019-16097","title":"luckybool1020/CVE-2019-16097","date":"2019-11-14","url":"https://github.com/luckybool1020/CVE-2019-16097"},{"source":"pocgithub","id":"rockmelodies/CVE-2019-16097-batch","title":"rockmelodies/CVE-2019-16097-batch","date":"2019-09-20","url":"https://github.com/rockmelodies/CVE-2019-16097-batch"},{"source":"pocgithub","id":"theLSA/harbor-give-me-admin","title":"theLSA/harbor-give-me-admin","date":"2019-10-02","url":"https://github.com/theLSA/harbor-give-me-admin"}],"fixes":[{"ecosystem":"Go","package":"github.com/goharbor/harbor","fixed_in":["1.9.0-rc1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/goharbor/harbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"last_affected":"1.8.9"},{"fixed":"1.9.0-rc1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/goharbor/harbor","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.9.0-rc1"}]}]}],"products":[{"vendor":"linuxfoundation","product":"harbor"}],"references":[{"url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097","tags":["advisory"]},{"url":"https://github.com/ianxtianxt/CVE-2019-16097","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9wvh-ff5f-xjpj","tags":["advisory"]},{"url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-16097","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.","status":"published","published":"2019-09-08T15:22:49Z","modified":"2024-08-05T01:03:32.654Z","updated_at":"2026-11-02T14:32:23.485011Z"}],"euvd":[{"id":"EUVD-2022-0946","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.","status":"published","published":"2019-09-08T15:22:49Z","modified":"2024-08-05T01:03:32Z","updated_at":"2026-11-03T02:40:34.136734Z"}],"ghsa":[{"id":"GHSA-9wvh-ff5f-xjpj","title":"Missing Authorization in Harbor","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. This is fixed in 1.9.0-rc1.","status":"published","published":"2022-02-15T01:57:18Z","modified":"2023-09-18T20:28:25Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:37:05.567008Z"}],"nvd":[{"id":"CVE-2019-16097","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.","status":"published","published":"2019-09-08T16:15:11.82Z","modified":"2026-06-17T02:21:39.683Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:05:25.691233Z"}],"osv":[{"id":"CVE-2019-16097","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.","status":"published","published":"2019-09-08T16:15:11.82Z","modified":"2026-10-20T10:50:45.668442049Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:11.361782Z"},{"id":"GHSA-9wvh-ff5f-xjpj","title":"Missing Authorization in Harbor","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. This is fixed in 1.9.0-rc1.","status":"published","published":"2022-02-15T01:57:18Z","modified":"2024-08-21T15:58:49.524137Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"GO-2022-0818","title":"Missing Authorization in Harbor in github.com/goharbor/harbor","description":"Missing Authorization in Harbor in github.com/goharbor/harbor","status":"published","published":"2024-08-21T15:29:02Z","modified":"2026-03-03T04:50:56.481537Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
