{"id":"CVE-2026-40521","aliases":["CVE-2026-40521"],"related":[],"kind":"vulnerability","state":"published","title":"FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"FrontAccounting antes de 2.4.20 contiene una vulnerabilidad de salto de ruta en el gestor de carga de adjuntos que permite a atacantes autenticados ejecutar código arbitrario al subir archivos con secuencias de salto de ruta en el parámetro unique_name. Los atacantes pueden proporcionar secuencias de salto de ruta ../../../shell.php para escribir archivos fuera del directorio de adjuntos previsto en la raíz web, y al subir archivos PHP sin validación de extensión, lograr ejecución remota de código como el usuario del servidor web.","source":"nvd"}],"published":"2026-06-29T12:30:12.799Z","modified":"2026-10-23T23:10:00.157Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.4.20","status":"affected"},{"type":"git","version":"701fea6848da4a02fb83d30f07a9c0473d6b7e33","status":"unaffected"}],"vendor":"FrontAccounting","product":"FrontAccounting","source":"cvelist"}],"references":[{"url":"https://jivasecurity.com/writeups/frontaccounting-rce-attachment-upload-cve-2026-40521","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FrontAccountingERP/FA/commit/701fea6848da4a02fb83d30f07a9c0473d6b7e33","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/frontaccounting-path-traversal-rce-via-attachment-upload","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Jiva (JivaSecurity)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-30T13:52:27.188Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40521","url":"https://www.cve.org/CVERecord?id=CVE-2026-40521","licence":"CVE Terms of Use","modified":"2026-07-14T20:00:34.255Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40521","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40521","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:26.610Z","epss":{"score":0.00627,"percentile":0.51409,"date":"2026-12-01T12:00:22.000Z"}}