Skip to content

CVE-2026-40521 FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload

HighCVSS 8.7 EPSS 0.98%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
frontaccounting < 2.4.20 2.4.20 Fixed

Affected products

ProductAffected versionsFixed in
frontaccounting < 2.4.20 2.4.20

References