# CVE-2026-45693: FacturaScripts path traversal in static file controllers

Source: https://junglewise.ai/threats/cve-2026-45693-facturascripts-path-traversal-in-static-file-controllers  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-14. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

CVE-2026-45693 · Severity: high · CVSS 7.5 · Published 2026-07-14

FacturaScripts, an open-source ERP and accounting system, contains a security flaw that allows unauthorized users to download private business documents. By manipulating web addresses, an attacker can bypass security checks to access sensitive files like customer invoices, supplier records, and database backups. This could lead to a significant leak of confidential financial data and customer information.

Technologies: [NeoRazorX FacturaScripts](https://junglewise.ai/threats/technologies/facturascripts), [facturascripts/facturascripts (Packagist)](https://junglewise.ai/threats/technologies/facturascripts-facturascripts). Vendors: [NeoRazorX](https://junglewise.ai/threats/vendors/neorazorx), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-45693 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45693 being exploited in the wild.

**How severe is CVE-2026-45693?** High severity, with a CVSS score of 7.5, published 14 July 2026.

**Which products and versions are affected?** NeoRazorX FacturaScripts <= 2026.2; facturascripts/facturascripts (Packagist) <= 2026.2, ECOSYSTEM:introduced=0,last_affected=2026.2.

**Is there a fix for CVE-2026-45693?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-45693 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-45693?** Check whether you run NeoRazorX FacturaScripts or facturascripts/facturascripts (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A path traversal vulnerability exists in FacturaScripts' static file controllers, specifically 'Core/Controller/Files.php' and 'Core/Controller/Myfiles.php'. The application validates access by performing prefix checks (strpos/substr) on the raw URL string rather than the canonicalized filesystem path. An attacker can use '../' segments in a request starting with an allow-listed prefix (e.g., '/Plugins/') to access files in restricted directories like 'MyFiles/Private/'. This bypasses the 'myft' token requirement for private files, provided the file extension is on the allowed list (pdf, sql, zip, etc.). The vulnerability is confirmed in version 2026.2 and the master branch.

## Affected products

- NeoRazorX FacturaScripts <= 2026.2

## Identifiers

- CVE-2026-45693
- GHSA-cv65-7cg8-r623

## Timeline

- 2026-05-11: other: Vulnerability confirmed on master branch commit de01369
- 2026-07-14: advisory: GitHub Advisory published

## References

- [https://api.github.com/users/5kr1pt](https://api.github.com/users/5kr1pt)
- [https://github.com/5kr1pt](https://github.com/5kr1pt)
- [https://api.github.com/users/5kr1pt/gists%7B/gist_id%7D](https://api.github.com/users/5kr1pt/gists%7B/gist_id%7D)
- [https://api.github.com/users/5kr1pt/repos](https://api.github.com/users/5kr1pt/repos)
- [https://avatars.githubusercontent.com/u/78171565?v=4](https://avatars.githubusercontent.com/u/78171565?v=4)
- [https://api.github.com/users/5kr1pt/events%7B/privacy%7D](https://api.github.com/users/5kr1pt/events%7B/privacy%7D)

## Related threats

- [FacturaScripts PHP object injection in WidgetSelect](https://junglewise.ai/threats/cve-2026-104905-facturascripts-before-version-2026-7-contains-a-php-object)
- [FacturaScripts path traversal and RCE in UploadedFile move](https://junglewise.ai/threats/facturascripts-path-traversal-and-rce-in-uploadedfile-move-40e5093b)
- [FacturaScripts stored XSS in WidgetVariante and WidgetSubcuenta](https://junglewise.ai/threats/cve-2026-45710-facturascripts-stored-xss-in-widgetvariante-and-widgetsubcuenta)
- [FacturaScripts CSV formula injection in CSVExport](https://junglewise.ai/threats/cve-2026-45263-facturascripts-csv-formula-injection-in-csvexport)
- [FacturaScripts SQL injection in REST API filter parameter](https://junglewise.ai/threats/cve-2026-45262-facturascripts-sql-injection-in-rest-api-filter-parameter)
