{"id":"CVE-2022-31667","aliases":["BIT-harbor-2022-31667","GHSA-xx9w-464f-7h6f"],"url":"https://o3.security/vulnerability/CVE-2022-31667","summary":"Harbor fails to validate the user permissions when updating a robot account","details":"Harbor fails to validate the user permissions when updating a robot account that belongs to a project that the authenticated user doesn’t have access to. \n\nBy sending a request that attempts to update a robot account, and specifying a robot account id and robot account name that belongs to a different project that the user doesn’t have access to, it was possible to revoke the robot account permissions.","published":"2024-11-14T11:50:48.289Z","modified":"2026-08-07T11:31:31.956588025Z","cvss":{"score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/goharbor/harbor","fixedVersion":"1.10.13"},{"ecosystem":"Go","name":"github.com/goharbor/harbor","fixedVersion":"2.4.3"},{"ecosystem":"Go","name":"github.com/goharbor/harbor","fixedVersion":"2.5.2"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31667.json"},{"type":"ADVISORY","url":"https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31667"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:31.956588025Z"}}