Arbitrary file upload in FacturaScripts - CVE-2026-42879
Published: November 9, 2026
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.