Home / Harbor / Harbor / CVE-2024-22261
CVE-2024-22261: is it exploited, and which versions of Harbor are affected and fixed?
CVE-2024-22261 is an authorization Bypass Through User-Controlled SQL Primary Key vulnerability in Harbor. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: github.com/goharbor/harbor before 2.8.6, github.com/goharbor/harbor from 2.9.0 before 2.9.4 and github.com/goharbor/harbor from 2.10.0 before 2.10.2 (GitHub advisory GHSA-vw63-824v-qf2j). Fixed in 2.8.6, 2.9.4 and 2.10.2 (GitHub advisory GHSA-vw63-824v-qf2j). Severity: Low (2.7, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-22261?
SQL Injection in Harbor scan log API
SQL-Injection in Harbor allows priviledge users to leak the task IDs
From the CVE record by vmware, last updated August 1, 2024, 22:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Harbor | Harbor | from 2.8.1 through 2.8.5 from 2.9.0 through 2.9.3 from 2.10.0 through 2.10.1 |
As the CVE record by vmware states it, last updated August 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/goharbor/harbor | < 2.8.6 | 2.8.6 | GHSA-vw63-824v-qf2j |
| Go | github.com/goharbor/harbor | >= 2.9.0, < 2.9.4 | 2.9.4 | GHSA-vw63-824v-qf2j |
| Go | github.com/goharbor/harbor | >= 2.10.0, < 2.10.2 | 2.10.2 | GHSA-vw63-824v-qf2j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 17, 2024. Summary: SQL Injection in Harbor scan log API.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | harbor | from 2.8.1 before 2.8.6 | application |
| linuxfoundation | harbor | from 2.9.0 before 2.9.4 | application |
| linuxfoundation | harbor | from 2.10.0 before 2.10.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:11 UTC.
How severe is CVE-2024-22261?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N | vmware |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-22261 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 12, 2024)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-566 Authorization Bypass Through User-Controlled SQL Primary Key
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- January 8, 2024
- Published
- June 10, 2024, 23:25 UTC
- CVE record updated
- August 1, 2024, 22:43 UTC by vmware
- NVD
- Analyzed, last modified June 17, 2026, 07:11 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Harbor?
- Oct 26, 2026CVE-2026-111590 Harbor: server-side request forgery (SSRF)
- Mar 23, 2026CVE-2026-4404 Harbor: hard-coded credentials
- Nov 14, 2024CVE-2022-31668 Harbor: improper authorization
- Nov 14, 2024CVE-2022-31667 Harbor: improper authorization
- Nov 14, 2024CVE-2022-31669 Harbor: improper authorization
- Nov 14, 2024CVE-2022-31670 Harbor: improper authorization
- Nov 14, 2024CVE-2022-31671 Harbor: improper authorization
- Nov 14, 2024CVE-2022-31666 Harbor: improper authorization
Questions about CVE-2024-22261
Is CVE-2024-22261 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Harbor are affected by CVE-2024-22261?
github.com/goharbor/harbor before 2.8.6, github.com/goharbor/harbor from 2.9.0 before 2.9.4 and github.com/goharbor/harbor from 2.10.0 before 2.10.2, per the GitHub advisory GHSA-vw63-824v-qf2j. The tables above give every range the sources list.
Which version fixes CVE-2024-22261?
2.8.6, 2.9.4 and 2.10.2, per the GitHub advisory GHSA-vw63-824v-qf2j. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-22261?
Low (2.7, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2024-22261?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.