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

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-05-05T19:44:32.322Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MasaCMS MasaCMS: < 7.2.10; >= 7.3.0, <= 7.3.14; >= 7.4.0, <= 7.4.9; >= 7.5.0, <= 7.5.2

## References

- <https://github.com/MasaCMS/MasaCMS/security/advisories/GHSA-3xpq-q494-8qq4>

## Sources

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

---

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