Vulnerability

CVE-2026-40521

highCVSS 4.0 8.7Published 29 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c…
  • jivasecurity.com /writeups/frontaccounting-rce-attachment-upload-cve-2026-40…
  • sourceforge.net /p/frontaccounting/news/2026/04/release-2420/
  • www.vulncheck.com /advisories/frontaccounting-path-traversal-rce-via-attachme…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning