CVE-2026-40521
Description
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.
How to fix
- FrontAccounting FrontAccounting2.4.20 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| FrontAccounting FrontAccounting | v < 2.4.20 | 2.4.20 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.