CVE-2026-42879CWE-434CWE-94

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

Medium · published May 27, 2026

CVSS v3.1
6.3
EPSS
0%
Percentile
22.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00312 · 22.9th percentile
Weaknesses
CWE-434 · Unrestricted Upload of File with Dangerous Type; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-05-27T18:29Z
EPSS history
Timeline
  • 27 MAY 18:29Z
    FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images
    cvelistv5