Path traversal in FacturaScripts exposes private documents
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
FacturaScripts before 2026.2 is affected. Its static file controllers check authorization against the URL string instead of the canonical filesystem path, a path traversal flaw (CWE-22). An unauthenticated remote attacker can read any file in the installation whose extension is on the controllers' allow-list, including customer and supplier invoices and database backups stored under MyFiles/Private/. The Packagist package facturascripts/facturascripts is listed from 0 through 2026.2.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NeoRazorX | facturascripts | before 2026.2 | 2026.2 | Patch available | CNA |
| — | facturascripts/facturascripts (Packagist) | up to 2026.2 | — | No fix listed | GHSA-cv65-7cg8-r623 |
- facturascripts VendorNeoRazorX Affected before 2026.2 Fixed in 2026.2 Patch available CNA
- facturascripts/facturascripts (Packagist) Vendor— Affected up to 2026.2 Fixed in — No fix listed GHSA-cv65-7cg8-r623
Remediation
Upgrade NeoRazorX FacturaScripts to version 2026.2, which fixes the issue. The sources list no fixed version for facturascripts/facturascripts.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA facturascripts (NeoRazorX) Fixed in 2026.2
Timeline
- 2026-12-04 Threatist record created from CVE-2026-45693
References
More NeoRazorX vulnerabilities
- TI-2026-67066 Path traversal in NeoRazorX facturascripts CVSS 3.1CRITICAL 9.9
- TI-2026-104319 Authenticated SQL injection in FacturaScripts REST API filter parameter CVSS 3.1CRITICAL 9.9
- TI-2026-19336 FacturaScripts has a Stored Cross-Site Scripting (XSS) in "Observations" field via History View CVSS 3.1CRITICAL 9.0
- TI-2026-104320 CSV formula injection in FacturaScripts CSV export CVSS 3.1HIGH 8.0
- TI-2026-22235 Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism CVSS 3.1HIGH 7.2
- TI-2026-31084 FacturaScripts: Unauthenticated phpinfo() Disclosure via Installer Endpoint in FacturaScripts CVSS 3.1MEDIUM 5.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences