Harbor fails to validate the user permissions when updating p2p preheat policies in github.com/goharbor/harbor
Published 12 Dec 2024 · Updated 3 Mar 2026
Is your project on an affected github.com/goharbor/harbor?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=2.0.0+incompatible <2.4.3+incompatible · >=2.5.0+incompatible <2.5.2+incompatible
- Fixed in
- 2.4.3+incompatible, 2.5.2+incompatible
go get github.com/goharbor/harbor@v2.5.2+incompatibleDetails
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
Is GO-2024-3268 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/goharbor/harbor, and gives you the command that fixes it.
More advisories for github.com/goharbor/harbor
- LowGO-2026-4876Harbor: LDAP password and OIDC secret are not redacted in the audit log in github.com/goharbor/harbor · 2 Apr 2026
- MediumGHSA-prh4-vhfh-24mjHarbor: LDAP password and OIDC secret are not redacted in the audit log · 26 Mar 2026
- LowCVE-2026-4404Harbor allows the use of the default password for web UI login in github.com/goharbor/harbor · 26 Mar 2026
- CriticalCVE-2026-4404Harbor allows the use of the default password for web UI login · 23 Mar 2026
- LowCVE-2025-32019Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor · 29 Jul 2025
- LowCVE-2025-30086Possible ORM Leak Vulnerability in the Harbor in github.com/goharbor/harbor · 29 Jul 2025
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.