p PatchFirst

CVE-2026-42879

CVE-2026-42879 · FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.3 · Medium · EPSS 0.2%

Published
Updated

Stack: php

Affected products and versions

  • facturascripts

    Versions
    • <= 2025.81: Affected

    No fix published

  • facturascripts/facturascripts Packagist

    Versions
    • 2018.03
    • 2018.04
    • 2018.05
    • 2018.11
    • v2018.12
    • v2018.13
    • v2018.14
    • v2018.15
    • v2018.16
    • v2020.01
    • v2020.2
    • v2020.3
    • v2020.4
    • v2020.51
    • v2020.61
    • v2020.71
    • v2020.80
    • v2021
    • v2021.1
    • v2021.2
    • v2021.4
    • v2021.51
    • v2021.71
    • v2021.81
    • v2022.06
    • v2022.08
    • v2022.2
    • v2022.4
    • v2022.51
    • v2023.03
    • v2023.08
    • v2023.16
    • v2023.21
    • v2024
    • v2024.1
    • v2024.2
    • v2024.3
    • v2024.5
    • v2024.7
    • v2024.8
    • v2024.9
    • v2024.91
    • v2024.93
    • v2024.94
    • v2024.95
    • v2024.96
    • v2025
    • v2025.11
    • v2025.2
    • v2025.3
    • v2025.4
    • v2025.41
    • v2025.43
    • v2025.7
    • v2025.71
    • v2025.8
    • v2025.81
    Affected ranges
    • ECOSYSTEM: ≤ 2025.81

    No fix published

Original sources

Check your server →