Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-24685: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in opf openproject

0
Critical
VulnerabilityCVE-2026-24685cvecve-2026-24685cwe-77
Published: Wed Jan 28 2026 (01/28/2026, 16:47:22 UTC)
Source: CVE Database V5
Vendor/Project: opf
Product: openproject

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.

AI-Powered Analysis

AILast updated: 01/28/2026, 17:20:17 UTC

Technical Analysis

CVE-2026-24685 is a command injection vulnerability classified under CWE-77 affecting OpenProject, an open-source web-based project management software. The flaw exists in the repository diff download endpoint (/projects/:project_id/repository/diff.diff) when rendering a single revision using the git show command. Specifically, the rev parameter is not properly sanitized, allowing an attacker to inject arbitrary git show command-line options. For example, by supplying rev=--output=/tmp/poc.txt, the attacker can cause git show to write its output to an arbitrary file path. Since OpenProject executes the git show command with the attacker-controlled rev value, this leads to an arbitrary file write vulnerability. Any user with the browse_repository permission on a project can exploit this to create or overwrite files that the OpenProject process user has write access to. The contents written are the git show output, including commit metadata and patch data. Overwriting critical application or configuration files can result in data loss, denial of service, and compromise of system integrity and availability. The vulnerability does not require user interaction or elevated privileges beyond browse_repository permission, making it easier to exploit. The issue affects OpenProject versions prior to 16.6.6 and versions from 17.0.0 up to but not including 17.0.2. The vendor has addressed the vulnerability in OpenProject 16.6.6 and 17.0.2. The CVSS 4.0 score is 9.4, reflecting the critical nature of this vulnerability with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. No known exploits are currently reported in the wild, but the ease of exploitation and severity warrant immediate attention.

Potential Impact

For European organizations using affected OpenProject versions, this vulnerability poses a significant risk. Attackers with browse_repository permissions—which may be granted to internal users or external collaborators—can overwrite arbitrary files on the server hosting OpenProject. This can lead to data loss, corruption of project management data, denial of service by disrupting application functionality, and potential further compromise if critical configuration files are overwritten. The integrity and availability of project management operations could be severely impacted, disrupting business workflows and collaboration. Given OpenProject's use in various industries across Europe, including government, manufacturing, and IT services, the disruption could have wide-reaching operational and reputational consequences. Additionally, the vulnerability could be leveraged as a foothold for lateral movement or privilege escalation if combined with other vulnerabilities or misconfigurations. The lack of required user interaction and the low complexity of exploitation increase the likelihood of attacks, especially in environments where repository browsing permissions are broadly assigned.

Mitigation Recommendations

1. Immediately upgrade OpenProject installations to version 16.6.6 or 17.0.2 or later, where the vulnerability is patched. 2. Audit and restrict the browse_repository permission to the minimum necessary users, limiting exposure to potential attackers. 3. Implement file system monitoring on servers hosting OpenProject to detect unauthorized file creation or modification, especially in critical directories. 4. Use application-level input validation or web application firewalls (WAFs) to detect and block suspicious parameters in requests to the repository diff endpoint. 5. Regularly review and harden server permissions to ensure the OpenProject process user has minimal write access, reducing the impact of arbitrary file writes. 6. Monitor logs for unusual git show command executions or unexpected file writes. 7. Educate users with repository browsing permissions about the risk and encourage reporting of suspicious activity. 8. Consider network segmentation to isolate OpenProject servers from sensitive systems to limit lateral movement in case of compromise.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-23T20:40:23.389Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 697a41f64623b1157cda80d8

Added to database: 1/28/2026, 5:05:58 PM

Last enriched: 1/28/2026, 5:20:17 PM

Last updated: 1/28/2026, 6:15:46 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats