SecurityContext

CVE-2026-24685: OpenProject - Arbitrary File Write

  • Cve: CVE-2026-24685
  • Name: OpenProject - Arbitrary File Write
  • 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.
  • Impact: Authorized users can overwrite arbitrary files, causing data loss and denial of service.
  • Remediation: Update to versions 16.6.6 or 17.0.2 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker must have browse_repository permission on the project
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0037
  • Epss percentile: 0.31525
  • Assignee: [email protected]
  • Published at: 2026-01-28T17:16:16Z
  • Age in days: 300
  • Modified at: 2026-06-17T10:23:25Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-24685
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

References

UrlSourceTags
https://github.com/opf/openproject/security/advisories/GHSA-74p5-9pr3-r6pwnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openproject:openproject>= 17.0.0, < 17.0.2; < 16.6.6nonvd/v1/products/openproject/openproject

Projects

RepositoryLink kindsIndexedUrl
opf/openprojectsecurity_advisoryyes/v1/repositories/opf/openproject

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 674
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports