CVE-2026-40522
published high CVSS 4.0 · 7.1FrontAccounting < 2.4.20 SQL Injection via rep601.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FrontAccounting | — | FrontAccounting0 to < 2.4.20 (affected · semver) · 894adaf71393e0ef6a04fe6036fcd2464050f590 (unaffected · git) · Other versions: affected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FrontAccounting | FrontAccounting | 0 to < 2.4.20 (affected · semver)894adaf71393e0ef6a04fe6036fcd2464050f590 (unaffected · git)Default: affected | VulnCheck · cna |
Weaknesses
2- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-916 Use of Password Hash With Insufficient Computational Effort
References
4- https://github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590
- https://jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-40522
- https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/
- https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php
Provider assertions
2VulnCheck · cna
FrontAccounting < 2.4.20 SQL Injection via rep601.php
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bd01715c739b9f30e209b1370e89dc29dd6e2174553bb7b9397ab4118600884c
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record