Improper access control in OneDev - CVE-2022-39206

 

Improper access control in OneDev - CVE-2022-39206

Published: September 13, 2022 / Updated: May 5, 2026


Vulnerability identifier: #VU129805
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-39206
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OneDev
Affected software:
OneDev

Detailed vulnerability description

The vulnerability allows a remote user to gain root privileges on the host system.

The vulnerability exists due to improper access control in Docker-based job executors when mounting the Docker socket into Docker steps. A remote user can define and trigger a CI/CD job that controls the host Docker daemon to gain root privileges on the host system.

Exploitation requires permission to create a project and the ability to define and trigger CI/CD jobs.


How to mitigate CVE-2022-39206

Install security update from vendor's website.

Sources