CVE-2026-27891
Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism
Description
FacturaScripts is an open source accounting and invoicing software. Versions 2026 and below contain a critical vulnerability in the Plugins::add() function. The system fails to properly validate the file paths within uploaded ZIP archives. This allows an attacker to perform a Zip Slip attack, leading to Arbitrary File Write and Remote Code Execution (RCE) by overwriting sensitive .php files outside the designated plugins directory. The vulnerability is located in Plugins.php. While the testZipFile function attempts to validate that the ZIP contains only one root folder, it does not sanitize or validate the individual file paths within that folder. An attacker can bypass this check by naming a file ValidPluginName/../../shell.php. The explode function will see ValidPluginName as the root folder, satisfying the count($folders) != 1 check. However, during extraction, the ../../ sequence triggers a path traversal, allowing the file to be written anywhere the web server has permissions the root directory. This issue is fixed in version 2026.1.
INFO
Published Date :
May 18, 2026, 10:16 p.m.
Last Modified :
July 24, 2026, 1:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Update FacturaScripts to version 2026.1 or later.
- Apply security patches for plugins.
- Review file upload validation logic.
- Restrict web server write permissions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-27891.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-27891 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-27891
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-27891 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-27891 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 24, 2026
Action Type Old Value New Value Added Translation Title: FacturaScripts de NeoRazorX, Description: FacturaScripts es un software de contabilidad y facturación de código abierto. Las versiones 2026 e inferiores contienen una vulnerabilidad crítica en la función Plugins::add(). El sistema no valida correctamente las rutas de archivo dentro de los archivos ZIP subidos. Esto permite a un atacante realizar un ataque Zip Slip, lo que lleva a la escritura arbitraria de archivos y a la ejecución remota de código (RCE) al sobrescribir archivos .php sensibles fuera del directorio de plugins designado. La vulnerabilidad se encuentra en Plugins.php. Aunque la función testZipFile intenta validar que el ZIP contiene solo una carpeta raíz, no sanitiza ni valida las rutas de archivo individuales dentro de esa carpeta. Un atacante puede eludir esta comprobación nombrando un archivo ValidPluginName/.. / ../shell.php. La función explode verá ValidPluginName como la carpeta raíz, satisfaciendo la comprobación count($folders) != 1. Sin embargo, durante la extracción, la secuencia .. / ../ desencadena un salto de ruta, permitiendo que el archivo se escriba en cualquier lugar donde el servidor web tenga permisos en el directorio raíz. Este problema se ha solucionado en la versión 2026.1. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'NeoRazorX', 'product': 'facturascripts', 'versions': [{'status': 'affected', 'version': '< 2026.1'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-27891', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-05-19T13:41:29.564991Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 19, 2026
Action Type Old Value New Value Added Reference https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-3pgc-xqg9-cfr6 -
New CVE Received by [email protected]
May. 18, 2026
Action Type Old Value New Value Added Description FacturaScripts is an open source accounting and invoicing software. Versions 2026 and below contain a critical vulnerability in the Plugins::add() function. The system fails to properly validate the file paths within uploaded ZIP archives. This allows an attacker to perform a Zip Slip attack, leading to Arbitrary File Write and Remote Code Execution (RCE) by overwriting sensitive .php files outside the designated plugins directory. The vulnerability is located in Plugins.php. While the testZipFile function attempts to validate that the ZIP contains only one root folder, it does not sanitize or validate the individual file paths within that folder. An attacker can bypass this check by naming a file ValidPluginName/../../shell.php. The explode function will see ValidPluginName as the root folder, satisfying the count($folders) != 1 check. However, during extraction, the ../../ sequence triggers a path traversal, allowing the file to be written anywhere the web server has permissions the root directory. This issue is fixed in version 2026.1. Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-20 Added CWE CWE-434 Added Reference https://github.com/NeoRazorX/facturascripts/commit/2dda7c6f3b241fa84a0629166783720b882725fd Added Reference https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-3pgc-xqg9-cfr6