Arbitrary file upload in FacturaScripts - CVE-2026-42879

 

Arbitrary file upload in FacturaScripts - CVE-2026-42879

Published: November 9, 2026


Vulnerability identifier: #VU163103
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42879
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an authenticated remote attacker to upload executable PHP files through FacturaScripts' product image upload functionality.

The vulnerability exists due to MIME validation that accepts PHP files prefixed with a GIF header while preserving executable extensions in a web-accessible upload directory. An authenticated remote attacker can submit a disguised PHP file and request its stored URL to execute commands when the server is configured to execute PHP in that directory.


Affected software

FacturaScripts

How to mitigate CVE-2026-42879

Install security update from vendor's website.

FacturaScripts - update to 2026.1

External References

Related Security Bulletins