CVE-2026-40521

published 29 Jun 2026 · updated 14 Jul 2026

FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload

9.8CriticalCVSS 8.8EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.4.20.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FrontAccounting<2.4.202.4.20

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40521 severity on Zeptric[![CVE-2026-40521](https://zeptric.io/badge/cve/CVE-2026-40521.svg)](https://zeptric.io/cve/CVE-2026-40521)