# CVE-2022-31671: Harbor fails to validate the user permissions when reading and updating job execution logs through the P2P preheat execution logs

- Severity: High 7.4 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/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.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2022-09-09T19:47:03.000Z
- Modified: 2026-09-08T08:47:51.632Z
- Also known as: GHSA-q76q-q8hw-hmpw, BIT-HARBOR-2022-31671
- Weaknesses: CWE-285, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## Description

Harbor fails to validate user permissions when reading and updating job execution logs through the P2P preheat execution logs. By sending a request that attempts to read/update P2P preheat execution logs and specifying different job IDs, malicious authenticated users could read all the job logs stored in the Harbor database.

(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 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw> (advisory, vendor-advisory, web)
- <https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31671> (advisory, web)
- <https://github.com/goharbor/harbor> (package)

## Sources

- CVE List: [CVE-2022-31671](https://www.cve.org/CVERecord?id=CVE-2022-31671), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-q76q-q8hw-hmpw](https://github.com/advisories/GHSA-q76q-q8hw-hmpw), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-31671](https://nvd.nist.gov/vuln/detail/CVE-2022-31671), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-HARBOR-2022-31671](https://osv.dev/vulnerability/BIT-HARBOR-2022-31671), Apache-2.0, modified 2026-09-08

---

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