# CVE-2022-4860: KBase Metrics methods_upload_user_stats.py upload_user_data sql injection

- Severity: Medium 5.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2022-12-30T11:49:50.291Z
- Modified: 2026-06-17T05:22:02.717Z
- Weaknesses: CWE-89
- Assigned by: VulDB

## Description

A vulnerability was found in KBase Metrics. It has been classified as critical. This affects the function upload_user_data of the file source/daily_cron_jobs/methods_upload_user_stats.py. The manipulation leads to sql injection. The patch is named 959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-217059.

(As written by CVE List.)

## Affected

- KBase Metrics: n/a; before 2022-05-22

## Every score

- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.2 Medium `AV:A/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?id.217059> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.217059> (permissions-required, signature)
- <https://github.com/kbase/metrics/pull/77> (issue-tracking, patch)
- <https://github.com/kbase/metrics/commit/959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d> (patch)

## Sources

- CVE List: [CVE-2022-4860](https://www.cve.org/CVERecord?id=CVE-2022-4860), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-4860](https://nvd.nist.gov/vuln/detail/CVE-2022-4860), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4860 · Whole record: https://cve.day/CVE-2022-4860.json · Rebuilt by cve.day 2026-11-25T22:58:17.938Z
