CVE-2026-40521
JSON

8.7high

FrontAccounting < 2.4.20 Path Traversal RCE via attachment upload

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
FrontAccounting FrontAccountingbefore 2.4.20
Not affected: 701fea6848da4a02fb83d30f07a9c0473d6b7e33
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40521 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-40521 changed 2026-10-23Public domain