CVE-2026-45693: Unauthenticated Path Traversal in FacturaScripts Static File Controllers
CVE-2026-45693 is an unauthenticated path traversal vulnerability in FacturaScripts static file controllers. The flaw allows attacker-supplied path traversal sequences to influence file resolution for requests to static asset routes, causing the application to serve files outside the intended public asset locations. The vulnerable logic appears to rely on raw URL prefix or route-based checks rather than canonicalized filesystem path validation. As a result, a crafted request can traverse into other allow-listed locations within the FacturaScripts installation directory and expose non-public files. The issue is mitigated only partially by file-type restrictions, as executable PHP files are reportedly not included in the allow-list, but sensitive business documents and stored data remain exposed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an unauthenticated remote attacker to read sensitive files located within the FacturaScripts installation tree. Exposed data may include customer and supplier invoices, document attachments, database backups, and cached or temporary business information stored in non-public directories such as private file storage areas. Based on the available information, the vulnerability enables arbitrary file disclosure within the reachable allow-listed scope but does not appear to provide remote code execution.
Mitigation
If you can’t patch tonight, do this now.
Until a fixed release is deployed, restrict or disable external access to vulnerable static file routes where operationally feasible, including routes used to serve plugin, core asset, dynamic asset, dependency, and file-storage content. Apply web server or WAF rules to block traversal patterns such as ../ and encoded equivalents. Minimize publicly exposed assets, review whether public file-storage directories are necessary, and monitor access logs for suspicious requests targeting static file endpoints with traversal indicators.
Remediation
Patch, then assume compromise.
Upgrade FacturaScripts to a vendor-fixed version when available. The vulnerable file-serving logic should canonicalize requested paths using a filesystem-safe mechanism such as realpath() and verify that the resolved path remains strictly within an intended allow-listed base directory before serving content or applying any token-bypass logic. Authorization and exposure decisions should be made on canonical filesystem paths rather than raw request paths or URL prefix matching.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-45693 exploited in the wild?
- As of Jul 15, 2026, Mallory has no reports of CVE-2026-45693 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-45693?
- As of Jul 15, 2026, Mallory has found no public exploit for CVE-2026-45693.
- Is there a patch for CVE-2026-45693?
- Upgrade FacturaScripts to a vendor-fixed version when available. The vulnerable file-serving logic should canonicalize requested paths using a filesystem-safe mechanism such as realpath() and verify that the resolved path remains strictly within an intended allow-listed base directory before serving content or applying any token-bypass logic.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.