{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40521","published":"2026-06-29T14:16:50.763000Z","last_modified":"2026-10-23T23:10:00.157000Z","status":"Deferred","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["frontaccounting"],"products":["frontaccounting/frontaccounting"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-40521/","html_en":"/en/cve/CVE-2026-40521/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40521","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40521"},"untrusted":{"vendor_name":"FrontAccounting","product_name":"FrontAccounting","desc_en":"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":[{"untrusted_vendor":"FrontAccounting","untrusted_product":"FrontAccounting"}],"references":[{"url":"https://github.com/FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c0473d6b7e33","tags":[]},{"url":"https://jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521","tags":[]},{"url":"https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/","tags":[]},{"url":"https://www.vulncheck.com/advisories/frontaccounting-path-traversal-rce-via-attachment-upload","tags":[]}]}}