{"id":"CVE-2019-16097","aliases":["CVE-2019-16097","GHSA-9wvh-ff5f-xjpj","GO-2022-0818"],"related":[],"kind":"vulnerability","state":"published","title":"Missing Authorization in Harbor","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Missing Authorization in Harbor in github.com/goharbor/harbor","format":"markdown","source":"go"},{"lang":"es","text":"core/api/user.go en Harbor versión 1.7.0 hasta la versión 1.8.2 permite a los usuarios que no son administradores crear cuentas de administrador mediante el POST /api/users API, cuando Harbor se configura con DB como back-end de autenticación y permite al usuario realizar el autorregistro. Esto se corrige en la versión 1.7.6, versión 1.8.3. versión 1.9.0. Solución alternativa sin aplicar la corrección: configure Harbor para que utilice el backend de autenticación que no sea de base de datos, como LDAP.","source":"nvd"}],"published":"2019-09-08T15:22:49.000Z","modified":"2026-06-17T02:21:39.683Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.9.0-rc1"}],"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.7.0","status":"affected","fixed":"1.9.0-rc1"}],"ecosystem":"Go","package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"go"},{"ranges":[{"status":"affected","version":"1.7.0"},{"status":"affected","version":"1.7.0"},{"status":"affected","version":"1.7.0"},{"status":"affected","version":"1.7.1"},{"status":"affected","version":"1.7.2"},{"status":"affected","version":"1.7.3"},{"status":"affected","version":"1.7.4"},{"status":"affected","version":"1.7.5"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.1"},{"status":"affected","version":"1.8.2"},{"status":"affected","version":"1.8.2"},{"status":"affected","version":"1.8.2"},{"status":"affected","version":"1.9.0"}],"vendor":"linuxfoundation","product":"harbor","cpe":"cpe:2.3:a:linuxfoundation:harbor:1.7.0:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.8.3","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/goharbor/harbor/releases/tag/v1.7.6","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2019-0015.html","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/ianxtianxt/CVE-2019-16097","tags":["web"],"sources":["ghsa","go"]},{"url":"https://unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-9wvh-ff5f-xjpj","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-16097","url":"https://www.cve.org/CVERecord?id=CVE-2019-16097","licence":"CVE Terms of Use","modified":"2024-08-05T01:03:32.654Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9wvh-ff5f-xjpj","url":"https://github.com/advisories/GHSA-9wvh-ff5f-xjpj","licence":"CC-BY-4.0","modified":"2024-08-21T15:58:49.524Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0818","url":"https://pkg.go.dev/vuln/GO-2022-0818","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:56.481Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-16097","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16097","licence":"Public domain","modified":"2026-06-17T02:21:39.683Z"}],"updatedAt":"2026-11-25T22:57:46.854Z","epss":{"score":0.23284,"percentile":0.97825,"date":"2026-12-02T12:00:21.000Z"}}