CVE-2026-40522 FrontAccounting < 2.4.20 SQL Injection via rep601.php
Authenticated attackers can inject SQL into the Bank Statement report to extract sensitive user data, including password hashes, from the database.
- 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-40522?
CVE-2026-40522 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 Bank Statement report handler that allows authenticated attackers to extract arbitrary database data by injecting UNION SELECT payloads into the PARAM_0 POST parameter. Attackers can supply malicious SQL syntax through the unparameterized WHERE clause to retrieve sensitive information including usernames, password hashes, and email addresses from the users table, rendered into PDF report output.
Which versions are affected by CVE-2026-40522?
How do I fix CVE-2026-40522?
No fix has been published for CVE-2026-40522 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-40522 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40522 exists.
Sources
Also known as GHSA-53v3-ffpm-f9hw.