CVE-2026-136920 · theonedev / onedev
CVE-2026-136920
Full advisory details, affected packages, severity context, and original source.
Affected technology
Affected versions and fixes
Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.
theonedev / onedev · semver
CVE vendor record- affected: All earlier versions · before 17.2.4 (exclusive) · semver
Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.
Repository: https://github.com/theonedev/onedev
Other versions: unaffected according to the vendor record.
Advisory overview
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.
Related 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
