CVE-2026-136920 OneDev before 17.2.4 Git Argument Injection via Fuzzy Commit Query

Published Updated

Authenticated OneDev users can inject git options via branch names to overwrite server files, causing denial of service.

CVSS score

High

7.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
17.2.4
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-136920?

CVE-2026-136920 is a high-severity command injection vulnerability in theonedev onedev, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-88

How severe is CVE-2026-136920?

CVE-2026-136920 scores 7.2 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-136920?

1 open source package ship an affected version, including theonedev/onedev.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
theonedev/onedev GitHub
pkg:github/theonedev/onedev
All versions17.2.4

How do I fix CVE-2026-136920?

Upgrade theonedev/onedev to 17.2.4 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-136920 being exploited?

There is no known exploitation of CVE-2026-136920 in the wild and no public exploit code.

Sources

Also known as GHSA-hcv4-7hc3-p6gh.

Is CVE-2026-136920 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free