Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-77526: FacturaScripts lets users place files anywhere, enabling code execution
CVE-2026-77526 · published 1 day ago
Summary
In versions from 2025 up to before 2026.3, FacturaScripts does not check the name of uploaded files. A logged‑in user can give the file a name that includes "../" parts, causing the file to be saved outside the intended MyFiles folder and potentially run on the server. Upgrade to version 2026.3 or later to fix the issue.
What to do
- Update facturascripts facturascripts/facturascripts to version 2026.3.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Packagist | facturascripts | facturascripts/facturascripts |
>= 2025, < 2026.3 Fix: upgrade to 2026.3
|
| – | neorazorx | facturascripts | >= 2025, < 2026.3 |
Original advisory text
FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE
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
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-22Path Traversal
CWE-434Unrestricted File Upload
Timeline
Published4 Dec 2026
Updated5 Dec 2026
First seen2 Nov 2026
Track software like this
Free during beta