CVE-2026-40521CWE-22path-traversal

CVE-2026-40521

High · published June 29, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
61.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00977 · 61.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-06-29T18:16Z
References (4)
EPSS history
Timeline
  • 29 JUN 12:30Z
    FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload
    cvelistv5