CVE-2026-45693

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

Published Dec 4, 2026 CVSS 3.1 · 7.5 High EPSS n/a KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cv65-7cg8-r623 FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents
History
Type Values Removed Values Added
Description 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.
Title FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 4, 2026, 5:14 PM
Reserved
May 13, 2026, 4:38 AM
Status
Received
Published
Dec 4, 2026, 5:19 PM
Modified
Dec 4, 2026, 5:19 PM