CVE-2026-40522: FA · FrontAccounting versions before 2.4.20 contain a SQL injection vulnerability in the Bank Statement report handler
Affects FASource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 2.4.20 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.4.20
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade frontaccountingerp/FA to 2.4.20.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubfrontaccountingerp/FApkg:github/frontaccountingerp/FAOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, restrict access to the Bank Statement report handler to trusted users only and monitor for suspicious activity related to report generation.
Description
FrontAccounting versions before 2.4.20 contain a SQL injection vulnerability in the Bank Statement report handler. Authenticated attackers can exploit this by injecting UNION SELECT payloads into the PARAM_0 POST parameter. This allows extraction of arbitrary database data, including sensitive user information such as usernames, password hashes, and email addresses, which are rendered in the PDF report output.
References
- nvd.nist.gov/vuln/detail/CVE-2026-40522 (opens in a new tab)
- github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590 (opens in a new tab)
- jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-40522 (opens in a new tab)
- sourceforge.net/p/frontaccounting/news/2026/04/release-2420 (opens in a new tab)
- vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php (opens in a new tab)