SQL Injection in Frontaccounting
CVE-2026-40522
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.
Vulnerability class: SQL Injection
EPSS: 0.001 (4.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
Affected products
- Frontaccounting — versions 0, 894adaf71393e0ef6a04fe6036fcd2464050f590
Weakness classification (CWE)
References
- disclosure@vulncheck.com (technical-description, exploit)
- disclosure@vulncheck.com (release-notes)
- disclosure@vulncheck.com (patch)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-40522?
- CVE-2026-40522 is a high-severity vulnerability in Frontaccounting, classified under SQL Injection. CVSS score: 7.1/10. Published 2026-06-29.
- How severe is CVE-2026-40522?
- High severity. CVSS v3 base score is 7.1 out of 10.