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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.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-q76q-q8hw-hmpw, BIT-harbor-2022-31671
- Record: https://cvemate.com/vulnerability/CVE-2022-31671 · JSON: https://cvemate.com/vulnerability/CVE-2022-31671/json

## Description

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

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- EPSS: 0.53%, percentile 46.302%, 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-q76q-q8hw-hmpw>
- <https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31671>
- <https://github.com/goharbor/harbor>

---

Data as of 2026-12-05T04:21:07.026Z. 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
