Git argument injection in OneDev via commit query
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-88.
Summary
OneDev before 17.2.4 contains an argument injection flaw in its commit query handling, tracked as CWE-88. An authenticated attacker with low privileges can push a branch or tag whose name injects git options, then query it through the commits page or REST API. This lets the attacker overwrite server-writable files and cause a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade OneDev to version 17.2.4, which fixes the issue. The sources list no fixed version for any other OneDev release.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA onedev (theonedev) Fixed in 17.2.4
Timeline
- 2026-11-25 Threatist record created from CVE-2026-136920
- 2026-11-25 Alias added: GHSA-hcv4-7hc3-p6gh
- 2026-11-30 CISA SSVC decision points changed
References
Patch 2
More theonedev vulnerabilities
- TI-2021-04345 Pre-Auth Unsafe Deserialization on AttachmentUploadServet CVSS 3.1CRITICAL 10.0
- TI-2022-18585 CI/CD Docker Escape in OneDev CVSS 3.1CRITICAL 9.9
- TI-2022-18584 Access Control Bypass in Onedev CVSS 3.1CRITICAL 9.8
- TI-2021-04346 Pre-Auth Unsafe Deserialization on KubernetesResource CVSS 3.1CRITICAL 10.0
- TI-2022-18587 Git Repository Disclosure in Onedev CVSS 3.1HIGH 7.5
- TI-2021-04349 Pre-Auth Access token leak CVSS 3.1HIGH 8.6
Sources
- CVE-2026-136920 · CVE Program
- CVE-2026-136920 · NVD
- FIRST EPSS
- GHSA-hcv4-7hc3-p6gh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences