Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107803 Overview
CVE-2026-107803 is a SQL injection vulnerability [CWE-89] in ProcessMaker, an open source workflow management suite. The flaw affects the GET /api/1.0/tasks endpoint through the order_by request parameter. The ProcessMaker\Traits\TaskControllerIndexMethods::applyColumnOrdering() method concatenates a user-controlled process_requests column name into a DB::raw() SQL subquery without validation or parameter binding. Any authenticated user can issue blind, time-based payloads to infer and extract data accessible to the ProcessMaker database account. The issue is fixed in ProcessMaker version 2026.14.3.
Critical Impact
Authenticated attackers can extract sensitive database contents through blind, time-based SQL injection against the tasks API.
Affected Products
- ProcessMaker versions prior to 2026.14.3
- GET /api/1.0/tasks API endpoint
- ProcessMaker\Traits\TaskControllerIndexMethods::applyColumnOrdering() method
Discovery Timeline
- 2026-10-09 - CVE-2026-107803 published to NVD
- 2026-10-09 - Last updated in NVD database
Technical Details for CVE-2026-107803
Vulnerability Analysis
The vulnerability resides in ProcessMaker's task listing API. When a client sends GET /api/1.0/tasks with an order_by parameter, the controller passes the supplied column name into applyColumnOrdering(). That method builds a correlated subquery against the process_requests table using Laravel's DB::raw() helper and inlines the attacker-controlled string directly into the raw SQL fragment.
Because DB::raw() bypasses the query builder's parameter binding, no escaping or type coercion occurs. An authenticated user can submit crafted values that break out of the identifier context and introduce SQL expressions. The response does not echo query results, so exploitation relies on blind, time-based inference using functions such as SLEEP() or BENCHMARK() to extract data one bit at a time.
Root Cause
The root cause is unsafe concatenation of untrusted input into a raw SQL expression. The applyColumnOrdering() method accepts arbitrary strings as column names and inserts them into a DB::raw() subquery without an allowlist check against known sortable columns. This is a textbook CWE-89 pattern caused by mixing user input with raw SQL.
Attack Vector
Exploitation requires only authenticated access to the ProcessMaker API. The attacker sends repeated GET /api/1.0/tasks requests with modified order_by values and measures response latency to confirm successful injection. The attack is executed over the network and does not require user interaction or elevated privileges.
// Patch excerpt from ProcessMaker/Http/Controllers/Api/TaskController.php
// Source: https://github.com/ProcessMaker/processmaker/commit/2622b7ae810e02c47157028331c45470567e7b79
$this->excludeNonVisibleTasks($query, $request);
- $this->applyColumnOrdering($query, $request);
-
$this->applyStatusFilter($query, $request);
// Apply process manager filter BEFORE PMQL to avoid conflicts with is_self_service filtering
The patch removes the vulnerable call to applyColumnOrdering() from the task index flow and refactors the ordering logic. See the GitHub commit for full details.
Detection Methods for CVE-2026-107803
Indicators of Compromise
- Requests to GET /api/1.0/tasks containing SQL keywords such as SLEEP, BENCHMARK, SELECT, or UNION in the order_by parameter
- Unusually high latency on /api/1.0/tasks responses compared with baseline
- Large volumes of near-identical tasks API calls from a single authenticated session, consistent with bit-by-bit data extraction
Detection Strategies
- Inspect web server and application logs for order_by values that do not match the allowlist of expected sortable columns.
- Enable MySQL general query log or slow query log to identify time-delay payloads originating from the ProcessMaker application user.
- Deploy a web application firewall rule that blocks SQL metacharacters and function names in the order_by query string parameter.
Monitoring Recommendations
- Alert on tasks API requests whose response time exceeds a tuned threshold, which indicates possible SLEEP()-based exploitation.
- Monitor authenticated session activity for high request rates against a single endpoint from one user account.
- Correlate ProcessMaker application logs with database query logs to spot raw subqueries containing untrusted identifiers.
How to Mitigate CVE-2026-107803
Immediate Actions Required
- Upgrade ProcessMaker to version 2026.14.3 or later, which removes the vulnerable code path.
- Rotate the ProcessMaker database account credentials if exploitation is suspected.
- Audit tasks API access logs for anomalous order_by values prior to the upgrade.
Patch Information
The fix is included in ProcessMaker release v2026.14.3 and merged via Pull Request #9041. The vendor's advisory is published as GHSA-xf7p-gp7c-w7gh.
Workarounds
- Restrict access to the /api/1.0/tasks endpoint using a reverse proxy or WAF rule that enforces an allowlist of permitted order_by values.
- Limit the ProcessMaker database account to the minimum privileges required, reducing the data accessible through blind extraction.
- Require stronger authentication controls on API tokens until the upgrade is deployed.
# Example nginx rule to reject non-allowlisted order_by values
location /api/1.0/tasks {
if ($arg_order_by !~* '^(id|name|due_at|created_at|updated_at)$') {
return 400;
}
proxy_pass http://processmaker_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

