What’s Vulnerable › Vulnerabilities
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 (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-14 · updated 2026-06-17
- Weakness: CWE-285
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.
Affected products
- Harbor: from 2.0.0 before 2.4.3; from 2.5.0 before 2.5.2 — fixed in 2.4.3, 2.5.2
How to fix
Upgrade to a fixed version: Harbor 2.4.3, 2.5.2. Check the vendor advisory for mitigations.
References
- https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7
- https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw
Get alerted when CVE-2022-31671 or the next vulnerability affects your stack