CVE-2026-77526
9.9CriticalPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-22, CWE-434
What an attacker gets
Authenticated attackers can achieve remote code execution by uploading malicious files. They can escape the intended directory and overwrite system files because of improper path sanitization.
Root cause
The application fails to sanitize client-supplied filenames, allowing directory traversal via path concatenation during file uploads.
Affected versions
FacturaScripts version 2025 through 2026.2
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Fix & remediation
Upgrade to FacturaScripts version 2026.3 or later. If you cannot patch immediately, restrict file upload permissions and ensure the web server user cannot write to executable directories like Dinamic/Assets/ or node_modules/.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-452629.9CriticalAuthenticated attackers can perform SQL injection to exfiltrate data from any table, including user credentials. This requires an active account on the FacturaScripts instance.
- CVE-2026-452638.0HighAuthenticated attackers can execute arbitrary commands on an administrator's machine via CSV injection. The attack requires an admin to download and open a malicious CSV export generated by the software.
- CVE-2026-456937.5HighUnauthenticated attackers can read sensitive files like database backups and invoices from the server. They only need to send a crafted URL containing directory traversal sequences.
- CVE-2026-476779.3CriticalUnauthenticated attackers can bypass authentication and gain full access to the application. They only need to brute-force the TOTP endpoint at /login?action=two-factor-validation.
- CVE-2026-648839.4CriticalAuthenticated attackers can achieve remote code execution and read sensitive files like signing keys. This is possible because the WebDAV interface fails to restrict file operations to the temporary directory.
- CVE-2026-1443379.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in an administrator's session by sending a crafted email. This allows them to steal CSRF tokens and create persistent administrator accounts.