OpenProject has a SQL Injection via Custom Field Name that can be chained to Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| opf | openproject | before 16.6.9; 17.0.0 to before 17.0.6; 17.1.0 to before 17.1.3; 17.2.0 to before 17.2.1 | 16.6.9, 17.0.6, 17.1.3, 17.2.1 | Patch available | CNA |
- openproject Vendoropf Affected before 16.6.9; 17.0.0 to before 17.0.6; 17.1.0 to before 17.1.3; 17.2.0 to before 17.2.1 Fixed in 16.6.9, 17.0.6, 17.1.3, 17.2.1 Patch available CNA
Remediation
- Fix · CNA openproject (opf) Fixed in 16.6.9, 17.0.6, 17.1.3, 17.2.1
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32698
References
More opf Openproject vulnerabilities
- TI-2019-08673 A SQL injection vulnerability in the activities API in OpenProject before 8.3.2 allows a… CVSS 3.0HIGH 8.1
- TI-2026-26047 OpenProject: 2FA OTP Verification Missing Rate Limiting CVSS 3.1HIGH 7.4
- TI-2026-29552 OpenProject has Cross-Project Meeting Agenda Item Injection via Unscoped Section Lookup CVSS 3.1HIGH 7.1
- TI-2023-14850 OpenProject user sessions not terminated after activation of 2FA CVSS 3.1MEDIUM 6.5
- TI-2026-18162 OpenProject is Vulnerable to Code Execution in E-Mail function CVSS 4.0HIGH 8.6
- TI-2026-26961 OpenProject: SQL Injection in Cost Reporting =n Operator via parse_number_string CVSS 3.1CRITICAL 9.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences