Path Traversal in Frontaccounting
CVE-2026-40521
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.010 · 63.0th percentile
- Published
- 2026-06-29
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.010, 63.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Frontaccounting — versions 0, 701fea6848da4a02fb83d30f07a9c0473d6b7e33
Weakness classification (CWE)
References
- jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521 (technical-description, exploit)
- sourceforge.net/p/frontaccounting/news/2026/04/release-2420/ (release-notes)
- github.com/FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c0473d6b7e33 (patch)
- www.vulncheck.com/advisories/frontaccounting-path-traversal-rce-via-attachment-… (third-party-advisory)