{"id":"CVE-2026-40521","published":"2026-06-29T12:30:12Z","modified":"2026-07-14T20:00:34Z","title":"FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload","vendor":"FrontAccounting","product":"FrontAccounting","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00977,"percentile":0.62992,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521","tags":["technical-description","exploit"]},{"url":"https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/","tags":["release-notes"]},{"url":"https://github.com/FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c0473d6b7e33","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/frontaccounting-path-traversal-rce-via-attachment-upload","tags":["third-party-advisory"]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":12.6},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"frontaccounting","affectedVersions":[{"vendor":"FrontAccounting","product":"FrontAccounting","versions":["< 2.4.20"]}],"fixedVersions":[{"vendor":"FrontAccounting","product":"FrontAccounting","versions":["701fea6848da4a02fb83d30f07a9c0473d6b7e33"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-30T13:52:27.188594Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40083","exploited":false,"provenance":"source"},"exploitRefs":["https://jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521"]}