CVE-2026-42879 PUBLISHED

FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images

Assigner: GitHub_M
Reserved: 30.04.2026 Published: 27.05.2026 Updated: 27.05.2026

FacturaScripts is an open source accounting and invoicing software. In 2025.81 and earlier, an authenticated unrestricted file upload vulnerability exists in FacturaScripts' product image upload functionality. An attacker with valid credentials can upload a PHP file disguised as a GIF image (using a GIF89a header), bypassing MIME type validation. The file is stored with its original extension, including executable extensions such as .php. The vulnerability exists the addImageAction() method of Core/Lib/ExtendedController/ProductImagesTrait.php.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS Score: 6.3

Product Status

Vendor NeoRazorX
Product facturascripts
Versions
  • Version <= 2025.81 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE
  • CWE-434: Unrestricted Upload of File with Dangerous Type CWE