CVE-2022-31667: Linuxfoundation Harbor

Medium severity, CVSS 6.4. EPSS: 0.5% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Linuxfoundation Harbor, from 2.0.0, before 2.4.3: fixed in 2.4.3
  • Linuxfoundation Harbor, from 2.5.0, before 2.5.2: fixed in 2.5.2

Affected products

  • Linuxfoundation Harbor: from 2.0.0, before 2.4.3 (fixed in 2.4.3); from 2.5.0, before 2.5.2 (fixed in 2.5.2)

Affected packages

Published 2024-11-14. Last modified 2026-06-17.