# CVE-2022-31666: Harbor fails to validate user permissions while Viewing, updating and deleting Webhook policies

- Severity: High 7.7 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- 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.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2022-09-16T19:35:47.000Z
- Modified: 2026-09-10T16:00:36.171Z
- Also known as: GHSA-jf8p-3vjh-pq94, BIT-HARBOR-2022-31666, GHSA-8hwq-5f22-jfr3
- Weaknesses: CWE-285, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

Harbor fails to validate user permissions while deleting Webhook policies, allowing malicious users to view, update and delete Webhook policies of other users.  The attacker could modify Webhook policies configured in other projects.

(As written by CVE List.)

## Affected

- Harbor: Harbor 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 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/goharbor/harbor/security/advisories/GHSA-8hwq-5f22-jfr3> (advisory, vendor-advisory, web)
- <https://github.com/goharbor/harbor/security/advisories/GHSA-jf8p-3vjh-pq94> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31666> (advisory, web)
- <https://github.com/goharbor/harbor> (package)

## Sources

- CVE List: [CVE-2022-31666](https://www.cve.org/CVERecord?id=CVE-2022-31666), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-jf8p-3vjh-pq94](https://github.com/advisories/GHSA-jf8p-3vjh-pq94), CC-BY-4.0, modified 2026-01-26
- NVD: [CVE-2022-31666](https://nvd.nist.gov/vuln/detail/CVE-2022-31666), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-HARBOR-2022-31666](https://osv.dev/vulnerability/BIT-HARBOR-2022-31666), Apache-2.0, modified 2026-09-10

---

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