CVE-2026-136920
HIGH
NVD
CVSS Score
8.1
Severity
HIGH
Published
Nov 25, 2026
Vendor
unknown
Description
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.
References
- https://github.com/theonedev/onedev/blob/v17.2.3/server-core/src/main/java/io/onedev/server/git/command/RevListOptions.java#L165-L172
- https://github.com/theonedev/onedev/blob/v17.2.3/server-core/src/main/java/io/onedev/server/search/commit/FuzzyCriteria.java#L36-L46
- https://github.com/theonedev/onedev/commit/25d36b2cbd35cb779259e409bfe49d6e17538a81
- https://github.com/theonedev/onedev/releases/tag/v17.2.4
- https://www.vulncheck.com/advisories/onedev-before-17.2.4-git-argument-injection-via-fuzzy-commit-query