# CVE-2022-31670: Harbor fails to validate the user permissions when updating tag retention policies

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, 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-3637-v6vq-xqqw, BIT-harbor-2022-31670
- Record: https://cvemate.com/vulnerability/CVE-2022-31670 · JSON: https://cvemate.com/vulnerability/CVE-2022-31670/json

## Description

```text
Harbor fails to validate the user permissions when updating tag retention policies.

By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify
tag retention policies configured in other projects.
```

## Signals

- CVSS: 7.7 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- EPSS: 0.546%, percentile 47.238%, 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: ≥ 1.0.0, \< 1.10.13 \| ≥ 2.0.0, \< 2.4.3 \| ≥ 2.5.0, \< 2.5.2

## References

- <https://github.com/goharbor/harbor/security/advisories/GHSA-3637-v6vq-xqqw>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31670>
- <https://github.com/goharbor/harbor>

---

Data as of 2026-12-05T05:32:32.711Z. 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
