# FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents

High severity, published 2026-07-14. No fixed release of facturascripts/facturascripts is listed yet: read the advisory for a workaround, or replace the package.

Canonical URL: https://buzzphp.com/security/ghsa-cv65-7cg8-r623 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.5) |
| Published | 2026-07-14 |
| Updated | 2026-07-14 |
| CVE | [CVE-2026-45693](https://nvd.nist.gov/vuln/detail/CVE-2026-45693) |
| GHSA | [GHSA-cv65-7cg8-r623](https://github.com/advisories/GHSA-cv65-7cg8-r623) |
| Weakness | CWE-22 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| facturascripts/facturascripts | <= 2026.2 | no fix yet |

## What to do

No fixed release of facturascripts/facturascripts is listed yet: read the advisory for a workaround, or replace the package.

Check which version you run with `composer show facturascripts/facturascripts`, and every affected package with `composer audit`.

## About this advisory

Summary

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.).

## Links

- [GHSA-cv65-7cg8-r623 on GitHub](https://github.com/advisories/GHSA-cv65-7cg8-r623)
- [CVE-2026-45693 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-45693)
- [All Composer security advisories](https://buzzphp.com/security)
