What’s Vulnerable › Vulnerabilities
CVE-2026-40524: FrontAccounting < 2.4.20 SQL Injection via get_gl_transactions()
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-29 · updated 2026-10-24
- Weakness: CWE-89
Description
FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the get_gl_transactions() function where the filter_type parameter is concatenated directly into a SQL IN() clause without parameterization. Attackers with SA_GLANALYTIC permission can inject arbitrary SQL by supplying a closing parenthesis followed by malicious conditions to extract sensitive journal entry data through boolean-based blind SQL injection with reliable response size differentials.
Affected products
- FrontAccounting: before 2.4.20 — fixed in 2.4.20
How to fix
Upgrade to a fixed version: FrontAccounting 2.4.20. Check the vendor advisory for mitigations.
References
- https://github.com/FrontAccountingERP/FA/commit/647a18196caad27f96ea852e993c9e30f815357f
- https://jivasecurity.com/writeups/frontaccounting-sqli-journal-entries-report-cve-2026-40524
- https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/
- https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-get-gl-transactions
- https://jivasecurity.com/writeups/frontaccounting-sqli-journal-entries-report-cve-2026-40524
Get alerted when CVE-2026-40524 or the next vulnerability affects your stack