CVE-2026-40329: SQL Injection vulnerability via sortBy in beanFeed

Published May 5, 2026
·
Updated

Masa CMS is an open source content management system. In versions 7.5.2 and earlier, a SQL injection vulnerability exists in the beanFeed.cfc component within the getQuery function's processing of the sortBy parameter. The application fails to properly sanitize or parameterize this input before incorporating it into dynamic SQL statements. An unauthenticated remote attacker can execute arbitrary SQL commands against the database, potentially gaining access to sensitive data, modifying or deleting records, or escalating privileges to administrative control.

This issue has been fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. As a workaround, configure WAF rules to block malicious SQL patterns in the sortBy parameter sent to beanFeed.cfc.

Affected Software

1 affected component
Masa CMS Masa CMS<7.2.10, <7.3.15, <7.4.10, <=7.5.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Masa CMS (beanFeed.cfc getQuery sortBy SQL injection) to a version that resolves this vulnerability.

    Fixed in 7.5.3
  2. Upgrade

    Upgrade Masa CMS (beanFeed.cfc getQuery sortBy SQL injection) to a version that resolves this vulnerability.

    Fixed in 7.4.10
  3. Upgrade

    Upgrade Masa CMS (beanFeed.cfc getQuery sortBy SQL injection) to a version that resolves this vulnerability.

    Fixed in 7.3.15
  4. Upgrade

    Upgrade Masa CMS (beanFeed.cfc getQuery sortBy SQL injection) to a version that resolves this vulnerability.

    Fixed in 7.2.10
  5. Compensating control

    Configure WAF rules to block malicious SQL patterns in the sortBy parameter sent to beanFeed.cfc.

Event History

May 5, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-40329?

CVE-2026-40329 has a high severity rating due to its potential for allowing SQL injection attacks.

2

How do I fix CVE-2026-40329?

To fix CVE-2026-40329, upgrade your Masa CMS to version 7.5.3 or later, which includes a patch for this vulnerability.

3

What versions of Masa CMS are affected by CVE-2026-40329?

Masa CMS versions 7.5.2 and earlier are affected by CVE-2026-40329.

4

What type of attack can exploit CVE-2026-40329?

CVE-2026-40329 can be exploited through SQL injection, allowing unauthorized access to the database.

5

What component of Masa CMS is vulnerable in CVE-2026-40329?

The vulnerability in CVE-2026-40329 is located in the beanFeed.cfc component, specifically within the getQuery function.

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