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": "MODERATE",
"nvd_published_at": null,
"github_reviewed_at": "2021-05-17T16:40:42Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-862"
]
}