CVE-2026-24685: OpenProject has Argument Injection on Repository module that allows Arbitrary File Write
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/:projectid/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 :browserepository 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-24685?
CVE-2026-24685 is classified as a critical severity vulnerability due to its potential for arbitrary file write, which can lead to severe security breaches.
How do I fix CVE-2026-24685?
To fix CVE-2026-24685, upgrade your OpenProject installation to version 16.6.6 or 17.0.2 or later.
What versions of OpenProject are affected by CVE-2026-24685?
CVE-2026-24685 affects OpenProject versions prior to 16.6.6 and 17.0.2.
What does the CVE-2026-24685 vulnerability allow an attacker to do?
CVE-2026-24685 allows attackers to exploit an Argument Injection vulnerability to perform arbitrary file write operations.
Is there a known exploit for CVE-2026-24685?
Yes, CVE-2026-24685 has the potential for exploitation, enabling attackers to compromise system files.