CVE-2026-45693: FacturaScripts Path Traversal
Published 2026-12-04 · Source security-advisories@github.com
Not known to be exploited · high severity — update FacturaScripts to 2026.2 or later in your next patch cycle.
What to do
- Update FacturaScripts to version 2026.2 or later. Versions before 2026.2 are affected.
- Until it is patched, do not leave FacturaScripts reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block requests containing traversal sequences at the proxy or WAF, and run the service under an account that can only read the directories it needs.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| FacturaScripts | < 2026.2 | 2026.2 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: Path Traversal
An attacker can use sequences such as "../" to reach files outside the intended directory, reading configuration or credentials and in some cases overwriting files.
Classified as CWE-22.
Description
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, the static file controllers in FacturaScripts decide whether a request is authorized by looking at the URL string instead of the canonical filesystem path. A request that starts with an allow-listed folder name but contains a ../ segment in the middle ends up serving a file from a different directory than the one the URL pretended to point at. This makes any file inside the FacturaScripts installation readable without authentication as long as the file's extension is on the controllers' allow-list (pdf, xlsx, docx, csv, sql, zip, xml, json, xsig, etc.). In practice this leaks the documents the application is specifically designed to protect: customer invoices, supplier invoices, document attachments and database backups stored under MyFiles/Private/ and other non-public subfolders. This issue has been patched in version 2026.2.
Advisory text as published in the NVD record.