CVE-2022-31667
Harbor vulnerability analysis and mitigation

Overview

Harbor, an open-source cloud native registry project by VMware, was found to contain a vulnerability (CVE-2022-31667) where it fails to validate user permissions when updating a robot account. The vulnerability was discovered in Harbor versions 2.x<=2.4.2 and 2.5<=2.5.1, and was disclosed on August 29, 2022. This security flaw is one of several high-severity IDOR (Insecure Direct Object Reference) vulnerabilities discovered in the CNCF-graduated project (HelpNet Security, GitHub Advisory).

Technical details

The vulnerability exists in the API endpoint PUT /robots/{robot_id} where Harbor fails to properly validate user permissions when updating robot accounts belonging to projects the authenticated user doesn't have access to. The vulnerability has been assigned a CVSS v3.1 score of 6.4 (Moderate severity), with the following metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: Low, User Interaction: None, Scope: Changed, Confidentiality: None, Integrity: Low, and Availability: Low (GitHub Advisory).

Impact

When exploited, this vulnerability allows an authenticated user to revoke robot account permissions for projects they don't have access to, potentially disrupting automated processes and integrations that rely on these robot accounts (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Harbor versions 2.4.3+ and 2.5.2+. Users are strongly advised to upgrade to these or later versions as soon as possible. No workarounds are available for this vulnerability, making the upgrade the only effective mitigation strategy (GitHub Advisory).

Community reactions

The vulnerability was responsibly disclosed by security researchers Gal Goldstein and Daniel Abeles from Oxeye Security. The VMware Security Response and Harbor Engineering teams promptly collaborated to provide a quick and effective resolution (HelpNet Security).

Additional resources


SourceThis report was generated using AI

Related Harbor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-31670HIGH7.7
  • HarborHarbor
  • cpe:2.3:a:linuxfoundation:harbor
NoYesNov 14, 2024
CVE-2022-31669HIGH7.7
  • HarborHarbor
  • harbor
NoYesNov 14, 2024
CVE-2022-31671HIGH7.4
  • HarborHarbor
  • cpe:2.3:a:linuxfoundation:harbor
NoYesNov 14, 2024
CVE-2025-30086MEDIUM4.9
  • HarborHarbor
  • github.com/goharbor/harbor
NoYesJul 25, 2025
CVE-2025-32019MEDIUM4.1
  • HarborHarbor
  • github.com/goharbor/harbor
NoYesJul 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management