CVE-2026-40521

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductFrontAccounting
PublishedJun 29, 2026
First seenJun 29, 2026

How to fix

Affected products

ProductAffected versionsFixed in
FrontAccounting FrontAccountingv < 2.4.202.4.20

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.