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

- Severity: Medium 6.4 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2022-09-16T19:38:12.000Z
- Modified: 2026-09-08T08:47:51.691Z
- Also known as: GHSA-8c6p-v837-77f6, BIT-HARBOR-2022-31669
- Weaknesses: CWE-285, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

Harbor fails to validate the user permissions when updating tag immutability policies. 

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

(As written by CVE List.)

## Affected

- Harbor: Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1
- github.com/goharbor/harbor (Go): from 1.0.0 before 1.10.13; from 2.0.0 before 2.4.3; from 2.5.0 before 2.5.2
- linuxfoundation harbor: from 2.0.0 before 2.4.3; from 2.5.0 before 2.5.2
- harbor (Bitnami): from 2.0.0 before 2.4.3; from 2.5.0 before 2.5.2

## Every score

- vmware: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L`
- NVD: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/goharbor/harbor/security/advisories/GHSA-8c6p-v837-77f6> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31669> (advisory, web)
- <https://github.com/goharbor/harbor> (package)

## Sources

- CVE List: [CVE-2022-31669](https://www.cve.org/CVERecord?id=CVE-2022-31669), CVE Terms of Use, modified 2024-11-15
- GitHub Advisory Database: [GHSA-8c6p-v837-77f6](https://github.com/advisories/GHSA-8c6p-v837-77f6), CC-BY-4.0, modified 2024-11-20
- NVD: [CVE-2022-31669](https://nvd.nist.gov/vuln/detail/CVE-2022-31669), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-HARBOR-2022-31669](https://osv.dev/vulnerability/BIT-HARBOR-2022-31669), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-31669 · Whole record: https://cve.day/CVE-2022-31669.json · Rebuilt by cve.day 2026-11-25T22:58:20.049Z
