CVE-2026-136920: OneDev before 17.2.4 Git Argument Injection via Fuzzy Commit Query
OneDev before 17.2.4 contains an argument injection vulnerability in commit query handling that allows authenticated attackers to inject git options through branch or tag names. Attackers can push a branch named like --output=<path> and query it via the commits page or REST API to overwrite server-writable files, causing denial of service.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated OneDev user who can push a branch or tag with a crafted name and cause that name to be processed by a commit query is positioned to exploit it. The issue can be triggered through the commits page or the REST API.
What is the practical impact?
A crafted branch or tag name can inject Git options, including an output path, allowing overwriting of files writable by the OneDev server process. This can cause denial of service; the provided data does not indicate confidentiality impact.
Are installations running the fixed release affected?
No. The issue affects OneDev versions before 17.2.4, so upgrading to 17.2.4 or later removes the stated vulnerable version range.