FrontAccounting
FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.4.20
Fixed in 2.4.20, 701fea6848da4a02fb83d30f07a9c0473d6b7e33
Mitigation
Upgrade FrontAccounting to 2.4.20 or 701fea6848da4a02fb83d30f07a9c0473d6b7e33 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521 | unknown | 14 Nov 2026 |