CVE-2022-31667 | Harbor fails to validate the user permissions when updating a robot account

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.

Published: 2024-11-14 Last update: 2024-11-19 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-31667 is rated Low Risk (33.7/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.08%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-31667

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-23 0.17% 0.08% -0.10%
2 2025-10-21 0.31% 0.17% -0.14%
3 2025-09-26 0.31%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-31667

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.1 2.7 [email protected]
6.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.1 2.7 [email protected]

Weakness enumeration for CVE-2022-31667

GitHub Security Advisory for CVE-2022-31667

GHSA-xx9w-464f-7h6f · Severity: medium · Ecosystem: go — Harbor fails to validate the user permissions when updating a robot account

Affected software / configurations for CVE-2022-31667

Vendor Product Version Raw CPE
linuxfoundation harbor >= 2.0.0, < 2.4.3 cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*
linuxfoundation harbor >= 2.5.0, < 2.5.2 cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*

References for CVE-2022-31667

cvelogic Threat Intelligence