What’s Vulnerable › Vulnerabilities
CVE-2022-31667: Harbor fails to validate the user permissions when updating a robot account
- Severity: medium (CVSS 6.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-14 · updated 2026-06-17
- Weakness: CWE-285
Description
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. By 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.
Affected products
- Harbor: from 2.0.0 before 2.4.3; from 2.5.0 before 2.5.2 — fixed in 2.4.3, 2.5.2
How to fix
Upgrade to a fixed version: Harbor 2.4.3, 2.5.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2022-31667 or the next vulnerability affects your stack