Improper authorization in Harbor
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.
Summary
Harbor fails to validate the user permissions when updating tag retention policies. By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify tag retention policies configured in other projects.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Harbor | Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 | — | No fix listed | CNA |
| — | github.com/goharbor/harbor (Go) | 1.0.0 to before 1.10.13 | 1.10.13 | Patch available | GHSA-3637-v6vq-xqqw |
| — | github.com/goharbor/harbor (Go) | 2.0.0 to before 2.4.3 | 2.4.3 | Patch available | GHSA-3637-v6vq-xqqw |
| — | github.com/goharbor/harbor (Go) | 2.5.0 to before 2.5.2 | 2.5.2 | Patch available | GHSA-3637-v6vq-xqqw |
- Harbor Vendor— Affected Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 Fixed in — No fix listed CNA
- github.com/goharbor/harbor (Go) Vendor— Affected 1.0.0 to before 1.10.13 Fixed in 1.10.13 Patch available GHSA-3637-v6vq-xqqw
- github.com/goharbor/harbor (Go) Vendor— Affected 2.0.0 to before 2.4.3 Fixed in 2.4.3 Patch available GHSA-3637-v6vq-xqqw
- github.com/goharbor/harbor (Go) Vendor— Affected 2.5.0 to before 2.5.2 Fixed in 2.5.2 Patch available GHSA-3637-v6vq-xqqw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* | 1.0.0 to before 1.10.13; 2.0.0 to before 2.4.3; 2.5.0 to before 2.5.2 | Vulnerable | backstage |
- cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:* Versions 1.0.0 to before 1.10.13; 2.0.0 to before 2.4.3; 2.5.0 to before 2.5.2 Vulnerable ·backstage
Remediation
- Fix · GHSA-3637-v6vq-xqqw github.com/goharbor/harbor (Go) Fixed in 1.10.13 Advisory →
- Fix · GHSA-3637-v6vq-xqqw github.com/goharbor/harbor (Go) Fixed in 2.4.3 Advisory →
- Fix · GHSA-3637-v6vq-xqqw github.com/goharbor/harbor (Go) Fixed in 2.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31670
- 2026-10-03 Alias added: GHSA-3637-v6vq-xqqw
References
More backstage Harbor vulnerabilities
- TI-2019-13717 Cloud Native Computing Foundation Harbor before 1.10.3 and 2.x before 2.0.1 allows… CVSS 3.1MEDIUM 5.3
- TI-2019-12090 core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin… CVSS 3.1MEDIUM 6.5
- TI-2022-22962 An access control issue in Harbor v1.X.X to v2.5.3 allows attackers to access public and… CVSS 3.1HIGH 7.5
- TI-2026-03829 Hard-coded credentials in backstage Harbor CVSS 3.1CRITICAL 9.4
- TI-2019-13713 Cloud Native Computing Foundation Harbor prior to 1.8.6 and 1.9.3 has a Privilege… CVSS 3.1HIGH 8.8
- TI-2019-13714 Cloud Native Computing Foundation Harbor prior to 1.8.6 and 1.9.3 allows CSRF in the… CVSS 3.1HIGH 8.8
Sources
- CVE-2022-31670 · CVE Program
- CVE-2022-31670 · NVD
- FIRST EPSS
- GHSA-3637-v6vq-xqqw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences