Git Repository Disclosure in Onedev
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-552.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA onedev (theonedev) Fixed in 7.3.0
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39208
References
More theonedev Onedev vulnerabilities
- TI-2021-04345 Pre-Auth Unsafe Deserialization on AttachmentUploadServet CVSS 3.1CRITICAL 10.0
- TI-2022-18585 CI/CD Docker Escape in OneDev CVSS 3.1CRITICAL 9.9
- TI-2022-18584 Access Control Bypass in Onedev CVSS 3.1CRITICAL 9.8
- TI-2021-04346 Pre-Auth Unsafe Deserialization on KubernetesResource CVSS 3.1CRITICAL 10.0
- TI-2021-04349 Pre-Auth Access token leak CVSS 3.1HIGH 8.6
- TI-2024-30380 OneDev vulnerable to arbitrary file reading for unauthenticated user CVSS 4.0HIGH 8.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences