CVE-2022-39206
CVE-2022-39206 is a critical-severity vulnerability in Onedev Project Onedev with a CVSS 3.x base score of 9.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-610.
Key facts
- Severity: Critical (CVSS 3.x base score 9.9)
- EPSS exploit prediction: 2% (74th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-610
- Affected product: Onedev Project Onedev
- Published:
- Last modified:
Description
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. When using Docker-based job executors, the Docker socket (e.g. /var/run/docker.sock on Linux) is mounted into each Docker step. Users that can define and trigger CI/CD jobs on a project could use this to control the Docker daemon on the host machine. This is a known dangerous pattern, as it can be used to break out of Docker containers and, in most cases, gain root privileges on the host system. This issue allows regular (non-admin) users to potentially take over the build infrastructure of a OneDev instance. Attackers need to have an account (or be able to register one) and need permission to create a project. Since code.onedev.io has the right preconditions for this to be exploited by remote attackers, it could have been used to hijack builds of OneDev itself, e.g. by injecting malware into the docker images that are built and pushed to Docker Hub. The impact is increased by this as described before. Users are advised to upgrade to 7.3.0 or higher. There are no known workarounds for this issue.
Frequently asked questions
- What is CVE-2022-39206?
- Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. When using Docker-based job executors, the Docker socket (e.g. /var/run/docker.sock on Linux) is mounted into each Docker step. Users that can define and trigger CI/CD jobs on a project could use this to control the Docker daemon on the host machine. This is a known dangerous pattern, as it can be used to break out of Docker containers and, in most cases, gain root privileges on the host system. This issue allows regular (non-admin) users to potentially take over the build infrastructure of a OneDev instance. Attackers need to have an account (or be able to register one) and need permission to create a project. Since code.onedev.io has the right preconditions for this to be exploited by remote attackers, it could have been used to hijack builds of OneDev itself, e.g. by injecting malware into the docker images that are built and pushed to Docker Hub. The impact is increased by this as described before. Users are advised to upgrade to 7.3.0 or higher. There are no known workarounds for this issue.
- How severe is CVE-2022-39206?
- CVE-2022-39206 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-39206 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (74th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-39206?
- CVE-2022-39206 affects Onedev Project Onedev. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-39206?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2022-39206 published?
- CVE-2022-39206 was published on 2022-09-13 and last updated on 2026-06-17.
References
- https://blog.sonarsource.com/onedev-remote-code-execution/
- https://github.com/theonedev/onedev/commit/0052047a5b5095ac6a6b4a73a522d0272fec3a22
- https://github.com/theonedev/onedev/security/advisories/GHSA-gjq9-4xx9-cr3q
Affected products (1)
- cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*
More vulnerabilities in Onedev Project Onedev
- CVE-2021-21245 — Critical (CVSS 10.0): OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, AttachmentUploadServlet also saves user…
- CVE-2021-21242 — Critical (CVSS 10.0): OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which can…
- CVE-2021-21244 — Critical (CVSS 10.0): OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, There is a vulnerability that enabled pre-auth…
- CVE-2021-21243 — Critical (CVSS 10.0): OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, a Kubernetes REST endpoint exposes two methods…
- CVE-2021-21249 — Critical (CVSS 9.6): OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is an issue involving YAML parsing which…
- CVE-2021-21248 — Critical (CVSS 9.6): OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability involving…
All CVEs affecting Onedev Project Onedev →
Other CWE-610 vulnerabilities
- CVE-2022-27593 — Critical (CVSS 10.0): An externally controlled reference to a resource vulnerability has been reported to affect QNAP NAS running Photo…
- CVE-2019-7290 — Critical (CVSS 10.0): An access issue was addressed with additional sandbox restrictions. This issue is fixed in Shortcuts 2.1.3 for iOS. A…
- CVE-2017-16088 — Critical (CVSS 10.0): The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized…
- CVE-2026-47643 — Critical (CVSS 9.8): External control of file name or path in Azure Stack Edge allows an unauthorized attacker to execute code over a…
- CVE-2022-20239 — Critical (CVSS 9.8): remap_pfn_range' here may map out of size kernel memory (for example, may map the kernel area), and because the…
- CVE-2021-44041 — Critical (CVSS 9.8): UiPath Assistant 21.4.4 will load and execute attacker controlled data from the file path supplied to the --dev-widget…