CVE-2026-42879

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

State
Published
Severity
6.3 Medium
Published
May 27, 2026
Updated
Jun 1, 2026
Reserved
Apr 30, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LGitHub_M

Weaknesses

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

Affected Products

ProductVersions
facturascriptsNeoRazorX
  • <= 2025.81Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.