Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136920: high-severity vulnerability (CVSS 7.2) in theonedev onedev.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
theonedev onedev < 17.2.4
| Product | Versions | Fixed in |
|---|---|---|
| theonedev onedev | < 17.2.4 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/theonedev/onedev/commit/25d36b2cbd35cb779259e409bfe49d6e17538a81 — CVE Program
- https://github.com/theonedev/onedev/releases/tag/v17.2.4 — CVE Program
- https://github.com/theonedev/onedev/blob/v17.2.3/server-core/src/main/java/io/onedev/server/search/commit/FuzzyCriteria.java#L36-L46 — CVE Program
- https://github.com/theonedev/onedev/blob/v17.2.3/server-core/src/main/java/io/onedev/server/git/command/RevListOptions.java#L165-L172 — CVE Program
- https://www.vulncheck.com/advisories/onedev-before-17.2.4-git-argument-injection-via-fuzzy-commit-query — CVE Program
Weaknesses (CWE): CWE-88
Relevant change history
Published
Preliminary advisory published.