SecurityContext

CVE-2026-32698: OpenProject - SQL Injection & Remote Code Execution

  • Cve: CVE-2026-32698
  • Name: OpenProject - SQL Injection & Remote Code Execution
  • Description: OpenProject is an open-source, web-based project management software. Versions prior to 16.6.9, 17.0.6, 17.1.3, and 17.2.1 are vulnerable to an SQL injection attack via a custom field's name. When that custom field was used in a Cost Report, the custom field's name was injected into the SQL query without proper sanitation. This allowed an attacker to execute arbitrary SQL commands during the generation of a Cost Report. As custom fields can only be generated by users with full administrator privileges, the attack surface is somewhat reduced. Together with another bug in the Repositories_module, that used the project identifier without sanitation to generate the checkout path for a git repository in the filesystem, this allowed an attacker to checkout a git repository to an arbitrarily chosen path on the server. If the checkout is done within certain paths within the OpenProject application, upon the next restart of the application, this allows the attacker to inject ruby code into the application. As the project identifier cannot be manually edited to any string containing special characters like dots or slashes, this needs to be changed via the SQL injection described above. Versions 16.6.9, 17.0.6, 17.1.3, and 17.2.1 fix the issue.
  • Impact: Administrators can execute arbitrary SQL commands and inject Ruby code, potentially leading to full system compromise.
  • Remediation: Upgrade to versions 16.6.9, 17.0.6, 17.1.3, or 17.2.1 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: remote_code_execution, sql_injection
  • Requirement type: logged_in
  • Requirements: Attacker must have full administrator privileges to create custom fields.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00306
  • Epss percentile: 0.23738
  • Assignee: [email protected]
  • Published at: 2026-03-18T22:16:24Z
  • Age in days: 251
  • Modified at: 2026-06-17T10:36:13Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-32698
  • 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-89Improper Neutralization of Special Elements used in an SQL Command

References

UrlSourceTags
https://github.com/opf/openproject/security/advisories/GHSA-jqhf-rf9x-9rhxnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openproject:openproject= 17.2.0; >= 17.1.0, < 17.1.3; >= 17.0.0, < 17.0.6; < 16.6.9nonvd/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