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

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-02)
- Published: 2026-05-07T19:49:05.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-vf3q-frmr-vrr9
- Weaknesses: CWE-94, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NeoRazorX facturascripts: <= 2025.81
- facturascripts/facturascripts (Packagist): up to 2025.81

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-vf3q-frmr-vrr9> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42879> (advisory)
- <https://github.com/NeoRazorX/facturascripts> (package)

## Sources

- CVE List: [CVE-2026-42879](https://www.cve.org/CVERecord?id=CVE-2026-42879), CVE Terms of Use, modified 2026-06-01
- GitHub Advisory Database: [GHSA-vf3q-frmr-vrr9](https://github.com/advisories/GHSA-vf3q-frmr-vrr9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42879](https://nvd.nist.gov/vuln/detail/CVE-2026-42879), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42879 · Whole record: https://cve.day/CVE-2026-42879.json · Rebuilt by cve.day 2026-11-25T22:59:22.653Z
