high7.2
CVE-2026-136920
OneDev before 17.2.4 contains an argument injection vulnerability in commit query handling that allows authenticated attackers to inject git options through br…
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed, high risk of outages.
Affected products (Theonedev)
| Product | Affected versions |
|---|---|
| Onedev | before 17.2.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/theonedev/onedev/commit/25d36b2cbd35cb779259e409bfe49d6e17538a81
- https://github.com/theonedev/onedev/releases/tag/v17.2.4
- 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/blob/v17.2.3/server-core/src/main/java/io/onedev/server/git/command/RevListOptions.java#L165-L172
- https://www.vulncheck.com/advisories/onedev-before-17.2.4-git-argument-injection-via-fuzzy-commit-query
- https://github.com/advisories/GHSA-hcv4-7hc3-p6gh
- https://nvd.nist.gov/vuln/detail/CVE-2026-136920