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.
https://github.com/theonedev/onedev/releases/tag/v17.2.4
https://github.com/theonedev/onedev/commit/25d36b2cbd35cb779259e409bfe49d6e17538a81