# CVE-2024-22261: SQL Injection in Harbor scan log API

- Priority: **Routine**
- Reason: Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-10 · Modified: 2024-08-01
- Aliases: GHSA-vw63-824v-qf2j, BIT-harbor-2024-22261, GO-2024-2916
- Record: https://cvemate.com/vulnerability/CVE-2024-22261 · JSON: https://cvemate.com/vulnerability/CVE-2024-22261/json

## Description

```text
SQL-Injection in Harbor allows priviledge users to leak the task IDs
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
- EPSS: 0.417%, percentile 38.008%, 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): \< 2.8.6 \| ≥ 2.9.0, \< 2.9.4 \| ≥ 2.10.0, \< 2.10.2 \| ≥ 2.10.0+incompatible, \< 2.10.2+incompatible
- harbor harbor: ≥ 2.8.1, ≤ 2.8.5 \| ≥ 2.9.0, ≤ 2.9.3 \| ≥ 2.10.0, ≤ 2.10.1
- linuxfoundation harbor: ≥ 2.8.1, \< 2.8.6 \| ≥ 2.9.0, \< 2.9.4 \| ≥ 2.10.0, \< 2.10.2

## References

- <https://github.com/goharbor/harbor/security/advisories/GHSA-vw63-824v-qf2j>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22261>
- <https://github.com/goharbor/harbor>
- <https://pkg.go.dev/vuln/GO-2024-2916>

---

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