Read the docs
TI-2022-18584 Aliases CVE-2022-39205

Access Control Bypass in Onedev

Priority HIGH 76CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-287.

Summary

Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. In versions of Onedev prior to 7.3.0 unauthenticated users can take over a OneDev instance if there is no properly configured reverse proxy. The /git-prereceive-callback endpoint is used by the pre-receive git hook on the server to check for branch protections during a push event. It is only intended to be accessed from localhost, but the check relies on the X-Forwarded-For header. Invoking this endpoint leads to the execution of one of various git commands. The environment variables of this command execution can be controlled via query parameters. This allows attackers to write to arbitrary files, which can in turn lead to the execution of arbitrary code. Such an attack would be very hard to detect, which increases the potential impact even more. Users are advised to upgrade. There are no known workarounds for this issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02461 84th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed onedev (theonedev): 7.3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
theonedevonedevbefore 7.3.07.3.0Patch availableCNA
  • onedev Vendortheonedev Affected before 7.3.0 Fixed in 7.3.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*before 7.3.0Vulnerabletheonedev
  • cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:* Versions before 7.3.0 Vulnerable ·theonedev

Remediation

  • Fix · CNA onedev (theonedev) Fixed in 7.3.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39205

References

  • 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-2021-04346 Pre-Auth Unsafe Deserialization on KubernetesResource CVSS 3.1CRITICAL 10.0
  • TI-2022-18587 Git Repository Disclosure in Onedev CVSS 3.1HIGH 7.5
  • 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
See all 17 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences