CVE-2026-40524 FrontAccounting < 2.4.20 SQL Injection via get_gl_transactions()
Attackers with specific permissions can inject SQL to extract sensitive journal entry data from FrontAccounting.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-40524?
CVE-2026-40524 is a high-severity SQL injection vulnerability in FrontAccounting, published on 29 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-40524?
How do I fix CVE-2026-40524?
No fix has been published for CVE-2026-40524 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-40524 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40524 exists.
Sources
Also known as GHSA-w5j4-x499-pfwp.