BuzzPHP
LightDarkSystem

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

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

Which versions are affected?

PackageAffected versionsFixed in
facturascripts/facturascripts (opens in a new tab)<= 2026.2no fix yet

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show facturascripts/facturascripts
composer audit

Advisory details

SeverityHighCVSS 7.5
Published
Updated
CVECVE-2026-45693 (opens in a new tab)
GHSAGHSA-cv65-7cg8-r623 (opens in a new tab)
WeaknessCWE-22

What the advisory says

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

Source: GHSA-cv65-7cg8-r623 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories