{"id":"CVE-2026-42879","published":"2026-05-27T18:29:46Z","modified":"2026-06-01T17:08:32Z","title":"FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images","vendor":"NeoRazorX","product":"facturascripts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00229,"percentile":0.14015,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-vf3q-frmr-vrr9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":2.8},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-03-20","earliestUrl":"https://github.com/guzrex/CVE-2026-42879","repos":[{"name":"guzrex/CVE-2026-42879","url":"https://github.com/guzrex/CVE-2026-42879","stars":0,"created":"2026-03-20"}]},"first":{"date":"2026-03-20","source":"PoC-in-GitHub","url":"https://github.com/guzrex/CVE-2026-42879"},"provenance":"source"},"vendorSlug":"neorazorx","affectedVersions":[{"vendor":"NeoRazorX","product":"facturascripts","versions":["<= 2025.81"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-01T17:05:06.441062Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"facturascripts/facturascripts","vulnerableRanges":["<=2025.81"],"patched":[],"from":["GHSA-vf3q-frmr-vrr9"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-32626","exploited":false,"provenance":"source"}}