CVE-2026-24685 Details
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.
A critical arbitrary file write vulnerability has been identified in OpenProject versions prior to 16.6.6 and 17.0.2. The issue arises in the repository diff download endpoint when a single revision is rendered using 'git show'. By injecting a specially crafted 'rev' value, an attacker can manipulate the command-line options of 'git show'. When OpenProject executes the command, Git treats the injected 'rev' as an option, directing the output to a user-specified path. This vulnerability allows any user with the ':browse_repository' permission to create or overwrite arbitrary files, depending on the permissions of the OpenProject process user. The impact includes data loss and denial of service, with potential for remote code execution if the user can write to the repository.
Users can upgrade to OpenProject versions 16.6.6 or 17.0.2 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/opf/openproject/security/advisories/GHSA-74p5-9pr3-r6pw | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openproject openproject | < 16.6.6 >= 17.0.0, < 17.0.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 9, 2026 | Initial Analysis | [email protected] |
| Jan 28, 2026 | New CVE Received | [email protected] |