CVE-2026-24685 OpenProject has Argument Injection on Repository module that allows Arbitrary File Write

Critical 9.4 Published Updated

Attackers with repository browse permissions can inject git options to write arbitrary files, causing data loss or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-24685?

CVE-2026-24685 is a critical command injection vulnerability in opf openproject, published on 28 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenProject is an open-source, web-based project management software. Versions prior to 16.6.6 and 17.0.2 have an arbitrary file write vulnerability in OpenProject’s repository diff download endpoint (`/projects/:project_id/repository/diff.diff`) when rendering a single revision via git show. By supplying a specially crafted rev value (for example, `rev=--output=/tmp/poc.txt)`, an attacker can inject git show command-line options. When OpenProject executes the SCM command, Git interprets the attacker-controlled rev as an option and writes the output to an attacker-chosen path. As a result, any user with the `:browse_repository` permission on the project can create or overwrite arbitrary files that the OpenProject process user is permitted to write. The written contents consist of git show output (commit metadata and patch), but overwriting application or configuration files still leads to data loss and denial of service, impacting integrity and availability. The issue has been fixed in OpenProject 17.0.2 and 16.6.6.

Weakness: CWE-77

Which versions are affected by CVE-2026-24685?

It affects 1 product.

Products include Openproject Openproject.

How do I fix CVE-2026-24685?

No fix has been published for CVE-2026-24685 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2026-24685 being exploited?

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

Sources

Also known as GHSA-74p5-9pr3-r6pw.

Is CVE-2026-24685 in your software?

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

Check your SBOMs for free