FrontAccounting before 2.4.20 contains a path traversal vulnerability in the attachment upload handler that allows authenticated attackers to execute arbitrary code by uploading files with traversal sequences in the unique_name parameter. Attackers can supply path traversal sequences ../../../shell.php to write files outside the intended attachments directory into the web root, and by uploading PHP files without extension validation, achieve remote code execution as the web server user.
CVE-2026-40521
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-06-29. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EPSS
- 45.7%
- KEV
- Not listed
Published
June 29, 2026
Last Modified
June 30, 2026
Advisory Details (4)
Auto-updated Jun 29, 2026FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload | Advisories | VulnCheck
https://www.vulncheck.com/advisories/frontaccounting-path-traversal-rce-via-attachment-uploadFrontAccounting / News: Release 2.4.20
https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/FrontAccounting RCE: When htmlspecialchars Meets Path Traversal — Jiva Security
https://jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521commit 701fea6848da (FrontAccountingERP/FA)
Fix landed in FrontAccountingERP/FA commit 701fea6848da — awaiting tagged release
https://github.com/FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c0473d6b7e33Vendor Advisories for CVE-2026-40521(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 34× in last 7d / 38× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 05:37 UTCEG score recompute
- 2026-07-07 05:36 UTCGHSA enrichment
- 2026-07-06 16:28 UTCEG score recompute
- 2026-07-06 16:28 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 03:14 UTCEG score recompute
- 2026-07-06 03:14 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 14:05 UTCEG score recompute
- 2026-07-05 14:05 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 00:53 UTCEG score recompute
- 2026-07-05 00:53 UTCGHSA enrichment
- 2026-07-04 11:46 UTCEG score recompute
- 2026-07-04 11:46 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 22:37 UTCEG score recompute
- 2026-07-03 22:37 UTCGHSA enrichment
- 2026-07-03 09:29 UTCEG score recompute
- 2026-07-03 09:29 UTCGHSA enrichment
- 2026-07-02 20:21 UTCEG score recompute
- 2026-07-02 20:21 UTCGHSA enrichment
- 2026-07-02 07:13 UTCEG score recompute
Show 13 moreShow fewer
- 2026-07-02 07:13 UTCGHSA enrichment
- 2026-07-01 18:06 UTCEG score recompute
- 2026-07-01 18:06 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 04:59 UTCEG score recompute
- 2026-07-01 04:59 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 15:49 UTCEG score recompute
- 2026-06-30 15:48 UTCGHSA enrichment
- 2026-06-30 02:40 UTCEG score recompute
- 2026-06-30 02:40 UTCGHSA enrichment
- 2026-06-29 13:33 UTCEG score recompute
- 2026-06-29 13:32 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-40521?
When was CVE-2026-40521 disclosed?
Is CVE-2026-40521 actively exploited?
What is the CVSS score of CVE-2026-40521?
How do I remediate CVE-2026-40521?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-40521
Is Your Infrastructure Affected by CVE-2026-40521?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.