# CVE-2026-40522: FrontAccounting < 2.4.20 SQL Injection via rep601.php

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-29T12:29:40.825Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-89, CWE-916
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- FrontAccounting FrontAccounting: before 2.4.20 (not affected: 894adaf71393e0ef6a04fe6036fcd2464050f590)

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-40522> (exploit, technical-description)
- <https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/> (release-notes)
- <https://github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590> (patch)
- <https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-40522](https://www.cve.org/CVERecord?id=CVE-2026-40522), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-40522](https://nvd.nist.gov/vuln/detail/CVE-2026-40522), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-40522 · Whole record: https://cve.day/CVE-2026-40522.json · Rebuilt by cve.day 2026-11-25T22:59:26.610Z
