Read the docs

Git argument injection in OneDev via commit query

Priority LOW 33CWE-88Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0076 51st percentileScored 2026-11-30
Fix Fixed onedev (theonedev): 17.2.4

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

VendorProductAffected versionsFixed inStatusSource
theonedevonedevbefore 17.2.417.2.4Patch availableCNA
  • onedev Vendortheonedev Affected before 17.2.4 Fixed in 17.2.4 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*——theonedev
  • cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:* Versions — — ·theonedev

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

  1. 2026-11-25 Threatist record created from CVE-2026-136920
  2. 2026-11-25 Alias added: GHSA-hcv4-7hc3-p6gh
  3. 2026-11-30 CISA SSVC decision points changed

References

  • 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
See all 24 →

Sources