CVE-2026-77526
FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE
Overview
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.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.9 | CRITICAL | 3.1GitHub_M (CNA) | NeoRazorX Facturascripts |
Details
- CVE ID
- CVE-2026-77526
- Status
- Received
- Assigner (CNA)
- GitHub_M
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026, 6:17 PM UTC
Affected Products
As published by the CNA in the CVE record.
NeoRazorXfacturascripts1 version range
- >= 2025, < 2026.3