CVE Catalog

CVE-2026-77526

CriticalCVSS 9.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.76%

79th percentile - higher than 79% of all known CVEs

Summary

In FacturaScripts, UploadedFile::move() concatenates the destination path with the client-supplied filename without normalization. An authenticated user can submit a filename containing ../ segments to write files outside MyFiles/, and in directories served directly by Apache (Dinamic/Assets/, node_modules/) this escalates to remote code execution.

Risk Assessment

The flaw lets an authenticated user write arbitrary files, and combined with the documented Apache configuration it leads to remote code execution and server compromise.

Recommendation

Update FacturaScripts to version 2026.3 or later and verify the Apache configuration so writable directories are not served directly.

Other vulnerabilities in FacturaScripts

See all
Original NVD description (English source)

FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3, FacturaScripts\Core\UploadedFile::move($destiny, $destinyName) concatenates $destiny and $destinyName without normalizing the resulting path. Every caller in the codebase passes UploadedFile::getClientOriginalName() — the unsanitized client-supplied filename — as $destinyName, so an authenticated user submitting a filename containing ../ segments can write the uploaded content to any directory writable by the web-server user, escaping the intended MyFiles/ location. Because the shipped htaccess-sample (the documented production Apache configuration) excludes Dinamic/Assets/ and node_modules/ from the index.php rewrite, files written into those directories are served directly by Apache. Combined with .htaccess not being in BLOCKED_EXTENSIONS, the primitive escalates from arbitrary file write to remote code execution. This issue has been patched in version 2026.3.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS