CVE-2026-77526

9.9Critical

Published Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

9.9CVSS

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

Source: nvd.nist.gov/vuln/detail/CVE-2026-77526

More fully triaged vulnerabilities you may want to check next.