All vulnerabilities

Servers and applications

CVE-2026-24685

Argument Injection on Repository Diff allows Arbitrary File Write and Remote Code Execution

Severity
Critical 9.4
Published
28 Jan 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
16.6.6, 17.0.2
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Command injection (CWE-77)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-74p5-9pr3-r6pw
Sources
NVD, Project advisories (GitHub)

Description

An arbitrary file write vulnerability exists 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.

From opf/openproject's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenProjectServers and applications · cpe:a:openproject:openproject
  • Every version before 16.6.6
  • From 17.0.0 before 17.0.2
OpenProjectServers and applications · github:opf/openproject
  • Every version before 16.6.6

About OpenProject

web-based project management system

From Wikidata, CC0 1.0.
Total downloads
30M+OpenProject
Docker Hub pulls
6,225,306Docker Hub, 15 Nov 2026
GitHub stars
17,385GitHub, 15 Nov 2026
Forks
3,765GitHub, 15 Nov 2026
Latest release
v17.9.7GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
GNU General Public License, version 3.0Wikidata
Written in
RubyWikidata
First published on GitHub
28 Nov 2012GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-24685
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-24685
  • GitHub Advisory Database https://github.com/advisories/GHSA-74p5-9pr3-r6pw
  • github.com https://github.com/opf/openproject/security/advisories/GHSA-74p5-9pr3-r6pw