# CVE-2022-39208: Git Repository Disclosure in Onedev

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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): 1.75%, higher than 78% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-13T18:42:28.000Z
- Modified: 2026-06-17T04:57:55.057Z
- Weaknesses: CWE-552
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. All files in the /opt/onedev/sites/ directory are exposed and can be read by unauthenticated users. This directory contains all projects, including their bare git repos and build artifacts. This file disclosure vulnerability can be used by unauthenticated attackers to leak all project files of any project. Since project IDs are incremental, an attacker could iterate through them and leak all project data. This issue has been resolved in version 7.3.0 and users are advised to upgrade. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- theonedev onedev: < 7.3.0
- onedev_project onedev: before 7.3.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://blog.sonarsource.com/onedev-remote-code-execution/> (exploit, third-party-advisory)
- <https://github.com/theonedev/onedev/security/advisories/GHSA-h427-rv56-c9h2> (third-party-advisory)
- <https://github.com/theonedev/onedev/commit/8aa94e0daf8447cdf76d4f27bfda0a85a7ea5822> (patch, third-party-advisory)

## Sources

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

---

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