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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-14 · Modified: 2024-11-14
- Aliases: GHSA-xx9w-464f-7h6f, BIT-harbor-2022-31667
- Record: https://cvemate.com/vulnerability/CVE-2022-31667 · JSON: https://cvemate.com/vulnerability/CVE-2022-31667/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- EPSS: 0.521%, percentile 45.732%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/goharbor harbor (Go): ≥ 1.0.0, \< 1.10.13 \| ≥ 2.0.0, \< 2.4.3 \| ≥ 2.5.0, \< 2.5.2
- linuxfoundation harbor: ≥ 2.0.0, \< 2.4.3 \| ≥ 2.5.0, \< 2.5.2

## References

- <https://github.com/goharbor/harbor/security/advisories/GHSA-xx9w-464f-7h6f>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31667>
- <https://github.com/goharbor/harbor>

---

Data as of 2026-12-05T04:45:06.690Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
