# CVE-2022-38795: Gitea erroneous repo clones

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2023-08-07T00:00:00.000Z
- Modified: 2026-09-08T08:47:33.954Z
- Also known as: GHSA-8j3v-68w3-3848, BIT-GITEA-2022-38795, GO-2023-1999
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

In Gitea through 1.17.1, repo cloning can occur in the migration function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- code.gitea.io/gitea (Go): before 1.17.2
- gitea gitea: up to 1.17.1
- gitea (Bitnami): before 1.17.2

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/go-gitea/gitea/pull/20869> (advisory, patch, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/20892> (advisory, patch, vendor-advisory, web)
- <https://blog.gitea.com/release-of-1.17.2/> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-38795> (advisory, web)
- <https://blog.gitea.com/release-of-1.17.2> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-8j3v-68w3-3848> (advisory)

## Sources

- CVE List: [CVE-2022-38795](https://www.cve.org/CVERecord?id=CVE-2022-38795), CVE Terms of Use, modified 2024-10-17
- GitHub Advisory Database: [GHSA-8j3v-68w3-3848](https://github.com/advisories/GHSA-8j3v-68w3-3848), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2023-1999](https://pkg.go.dev/vuln/GO-2023-1999), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-38795](https://nvd.nist.gov/vuln/detail/CVE-2022-38795), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2022-38795](https://osv.dev/vulnerability/BIT-GITEA-2022-38795), Apache-2.0, modified 2026-09-08

---

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