# CVE-2026-32698: OpenProject has a SQL Injection via Custom Field Name that can be chained to Remote Code Execution

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-03-18T21:01:53.366Z
- Modified: 2026-06-17T10:36:13.670Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- opf openproject: < 16.6.9; >= 17.0.0, < 17.0.6; >= 17.1.0, < 17.1.3; >= 17.2.0, < 17.2.1
- openproject openproject: before 16.6.9; from 17.0.0 before 17.0.6; from 17.1.0 before 17.1.3; 17.2.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/opf/openproject/security/advisories/GHSA-jqhf-rf9x-9rhx> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-32698](https://www.cve.org/CVERecord?id=CVE-2026-32698), CVE Terms of Use, modified 2026-03-19
- NVD: [CVE-2026-32698](https://nvd.nist.gov/vuln/detail/CVE-2026-32698), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32698 · Whole record: https://cve.day/CVE-2026-32698.json · Rebuilt by cve.day 2026-11-25T22:59:16.140Z
