FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NeoRazorX | facturascripts | up to 2025.81 | — | No fix listed | CNA |
| — | facturascripts/facturascripts (Packagist) | up to 2025.81 | — | No fix listed | GHSA-vf3q-frmr-vrr9 |
- facturascripts VendorNeoRazorX Affected up to 2025.81 Fixed in — No fix listed CNA
- facturascripts/facturascripts (Packagist) Vendor— Affected up to 2025.81 Fixed in — No fix listed GHSA-vf3q-frmr-vrr9
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42879
- 2026-10-03 Alias added: GHSA-vf3q-frmr-vrr9
References
More NeoRazorX vulnerabilities
- TI-2026-19336 FacturaScripts has a Stored Cross-Site Scripting (XSS) in "Observations" field via History View CVSS 3.1CRITICAL 9.0
- TI-2026-22235 Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism CVSS 3.1HIGH 7.2
- TI-2026-31084 FacturaScripts: Unauthenticated phpinfo() Disclosure via Installer Endpoint in FacturaScripts CVSS 3.1MEDIUM 5.3
- TI-2026-67841 PHP object injection in FacturaScripts via WidgetSelect CVSS 4.0MEDIUM 6.1
- TI-2026-22236 FacturaScripts: Unstripped Image Metadata (EXIF) Leakage via Library Module File Upload/Download CVSS 3.1MEDIUM 6.5
- TI-2026-31083 FacturaScripts: Stored XSS via product reference in sales/purchases CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-42879 · CVE Program
- CVE-2026-42879 · NVD
- FIRST EPSS
- GHSA-vf3q-frmr-vrr9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences