CVE-2026-49489: OpenCATS - SQL Injection in DataGrid sortDirection Parameter

Published May 31, 2026
·
Updated

OpenCATS through 0.9.7.4 contains a sql injection vulnerability in the sortDirection parameter of the DataGrid component that allows authenticated users to extract database contents. Attackers can inject malicious SQL via the sortDirection parameter in ajax/getDataGridPager.php to perform time-based blind injection attacks and read sensitive data.

Affected Software

1 affected component
OpenCATS OpenCATS<=0.9.7.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove opencats/datagrid (ajax/getDataGridPager.php) from your environment.

    If the DataGrid/ajax/getDataGridPager.php endpoint is not required, disable or remove that endpoint/component to eliminate the vulnerable attack surface.

  2. Configuration

    Validate and/or whitelist allowed values for the sortDirection parameter and modify ajax/getDataGridPager.php to use parameterized queries or prepared statements for any database access to prevent SQL injection.

    OpenCATS DataGrid (ajax/getDataGridPager.php) sortDirection parameter handling = whitelist/validate and use parameterized queries
  3. Compensating control

    Restrict access to ajax/getDataGridPager.php to trusted IP addresses or internal networks using firewall rules or a WAF. Additionally, deploy request filtering or rate-limiting to block requests that contain malicious payloads targeting the sortDirection parameter.

Event History

May 31, 2026
CVE Published
via MITRE·12:04 PM
Data Sourced
via MITRE·12:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-49489?

CVE-2026-49489 has a severity score of 8.5, which is classified as high.

2

How do I fix CVE-2026-49489?

To mitigate CVE-2026-49489, update OpenCATS to version 0.9.7.5 or later, ensuring the sortDirection parameter is validated.

3

Who is affected by CVE-2026-49489?

Any authenticated user on OpenCATS versions up to 0.9.7.4 can exploit the vulnerability due to insufficient parameter validation.

4

What kind of attack can be performed using CVE-2026-49489?

CVE-2026-49489 allows attackers to perform SQL injection attacks via the sortDirection parameter, potentially retrieving sensitive database information.

5

What component of OpenCATS is affected by CVE-2026-49489?

The vulnerability is present in the DataGrid component of OpenCATS, specifically in the ajax/getDataGridPager.php file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203