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-63165 Overview
CVE-2026-63165 is a SQL injection vulnerability [CWE-89] in Omnispace Agora Project versions before 26.10.0. The flaw resides in the calendar module, where the sortEvents parameter is concatenated directly into an ORDER BY clause inside app/ModCalendar/CtrlCalendar.php without sanitization. Authenticated attackers can inject arbitrary SQL and extract database contents using error-based payloads such as extractvalue. Successful exploitation exposes confidential data, including database version information and application records, over the network.
Critical Impact
Authenticated attackers can read arbitrary database contents, including credential material and application data, by abusing the sortEvents parameter in the calendar functionality.
Affected Products
- Omnispace Agora Project versions prior to 26.10.0
- app/ModCalendar/CtrlCalendar.php calendar controller component
- Deployments exposing the calendar module to authenticated users
Discovery Timeline
- 2026-10-13 - CVE-2026-63165 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-63165
Vulnerability Analysis
The vulnerability stems from unsafe string concatenation of user-controlled input into a SQL ORDER BY clause. The sortEvents HTTP parameter flows directly from the request into the query builder within CtrlCalendar.php. Because ORDER BY arguments cannot be bound as prepared-statement parameters in most SQL dialects, the developer concatenated the value into the raw SQL string without an allow-list check.
Attackers manipulate sortEvents to append arbitrary SQL expressions. Error-based techniques using MySQL's extractvalue() function force the database engine to raise an XPath error containing the result of a subquery. This returns data such as @@version or arbitrary table contents inside the error message rendered to the attacker.
Exploitation requires valid low-privileged credentials but no user interaction. The CWE-89 classification confirms improper neutralization of special elements used in a SQL command.
Root Cause
The root cause is missing input validation and the absence of an allow-list for sortable columns. Values destined for ORDER BY clauses must be mapped against a fixed set of permitted column names before being inserted into any query string.
Attack Vector
The attack is remote and network-based. An authenticated user issues an HTTP request to the calendar endpoint with a malicious sortEvents payload. The attacker observes the SQL error output returned by the application to exfiltrate database content incrementally.
// Prose description only - no verified exploit code published.
// Attackers supply a crafted sortEvents value containing an
// extractvalue() payload that is concatenated into the ORDER BY
// clause of the calendar query, triggering an error message that
// leaks subquery results such as the database version.
Detection Methods for CVE-2026-63165
Indicators of Compromise
- HTTP requests to the Agora Project calendar module containing sortEvents parameter values with SQL keywords such as extractvalue, updatexml, select, concat, or 0x.
- Database or application logs showing XPath syntax errors or MySQL error 1105 originating from calendar queries.
- Repeated authenticated requests to ModCalendar endpoints from a single session with abnormally long or encoded parameter values.
Detection Strategies
- Deploy web application firewall rules that inspect the sortEvents parameter for SQL metacharacters and function names.
- Enable database query logging and alert on ORDER BY clauses that contain subqueries, parentheses, or function calls.
- Correlate authenticated session activity with SQL error responses to identify error-based injection attempts.
Monitoring Recommendations
- Monitor web server access logs for unusual query-string lengths or URL-encoded payloads targeting /ModCalendar/ paths.
- Alert on spikes in HTTP 500 responses from the calendar controller, which can indicate failed injection probes.
- Track authenticated user sessions that generate repeated database errors within short time windows.
How to Mitigate CVE-2026-63165
Immediate Actions Required
- Upgrade Omnispace Agora Project to version 26.10.0 or later, which addresses the sortEvents injection flaw.
- Restrict access to the calendar module to trusted authenticated users until the patch is applied.
- Rotate database credentials and audit calendar query logs for prior exploitation evidence.
Patch Information
The vendor fixed the vulnerability in Agora Project release 26.10. Administrators should obtain the update from the GitHub Agora Project Release 26.10 page and follow upgrade instructions on the Agora Project Official Website. Additional technical context is available in the VulnCheck Advisory: SQL Injection.
Workarounds
- Place the application behind a web application firewall with signatures that block SQL function names in ORDER BY positions.
- Temporarily disable the calendar module if the upgrade cannot be deployed immediately.
- Enforce least-privilege database accounts so the application cannot read sensitive tables beyond its functional scope.
# Example WAF rule concept (ModSecurity-style) blocking SQLi in sortEvents
SecRule ARGS:sortEvents "@rx (?i)(extractvalue|updatexml|select|union|concat|sleep|benchmark|0x[0-9a-f]+)" \
"id:1026063165,phase:2,deny,status:403,msg:'Possible SQLi in sortEvents (CVE-2026-63165)'"
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

