Skip to content
Heist/ feed
Back to feed
Critical

OpenProject has Argument Injection on Repository module that allows Arbitrary File Write

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-24685
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 04:12 UTC · Revision 1

Source evidence

OpenProject has Argument Injection on Repository module that allows Arbitrary File Write

core-osv · Original source

Published 28 Jan 2026, 16:47 UTC

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.

osv:CVE-2026-24685
Complete source record
{
  "id": "7aed2ef3e77bd6a6802c0e0b74d0fd78d1eaba88028576f2cb90df912af26553",
  "url": "https://osv.dev/vulnerability/CVE-2026-24685",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenProject has Argument Injection on Repository module that allows Arbitrary File Write",
    "summary": "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.",
    "evidence": "osv:CVE-2026-24685",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-24685",
      "aliases": [
        "CVE-2026-24685",
        "GHSA-74p5-9pr3-r6pw"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/opf/openproject",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "319164a4d93247e42c5e6e0e470516f7775ad928"
                },
                {
                  "introduced": "acbb059c8820da8236cee1f43dc0796d83836259"
                },
                {
                  "fixed": "87a8cdc7632de8ab06475ba373fd354e0be30e2a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "16.6.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:openproject:openproject:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "17.0.0"
                      },
                      {
                        "fixed": "17.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v17.0.1",
            "v16.6.5",
            "v17.0.0",
            "v16.6.4",
            "v16.6.3",
            "v16.6.2",
            "v16.6.1",
            "v16.6.0",
            "v16.5.1",
            "v16.5.0",
            "v16.4.1",
            "v16.4.0",
            "v16.3.2",
            "v16.3.1",
            "v16.3.0",
            "v16.2.2",
            "v16.2.1",
            "v16.2.0",
            "v16.1.1",
            "v16.1.0",
            "v16.0.1",
            "v16.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24685.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.679316017Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24685.json",
        "https://github.com/opf/openproject/security/advisories/GHSA-74p5-9pr3-r6pw",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-24685"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24685.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-24685",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514584,
  "published_at": "2026-01-28T16:47:22.85+00:00"
}