CVE-2026-136920
OneDev before 17.2.4 Git Argument Injection via Fuzzy Commit Query
High · 7.2Fix available
- CVSS
- 7.2
- EPSS
- 0.76% (p52)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-28
- Product
- theonedev onedev
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
17.2.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | onedev | >=0, <17.2.4 | 17.2.4 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/theonedev/onedev/commit/25d36b2cbd35cb779259e409bfe49d6e17538a81 patch
- https://github.com/theonedev/onedev/releases/tag/v17.2.4 release-notes
- https://github.com/theonedev/onedev/blob/v17.2.3/server-core/src/main/java/io/onedev/server/search/commit/FuzzyCriteria.java#L36-L46 technical-description
- https://github.com/theonedev/onedev/blob/v17.2.3/server-core/src/main/java/io/onedev/server/git/command/RevListOptions.java#L165-L172 technical-description
- https://www.vulncheck.com/advisories/onedev-before-17.2.4-git-argument-injection-via-fuzzy-commit-query third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136920.json advisory
- https://github.com/theonedev/onedev package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136920 advisory