CVE-2026-27891: CWE-20: Improper Input Validation in NeoRazorX facturascripts
FacturaScripts versions 2026 and below contain a critical vulnerability in the Plugins::add() function that allows a Zip Slip attack via improper validation of file paths in uploaded ZIP archives. This flaw enables an attacker to perform arbitrary file writes and remote code execution by overwriting sensitive PHP files outside the intended plugins directory. The vulnerability arises because the testZipFile function only checks for a single root folder but does not sanitize file paths within that folder, allowing path traversal sequences like .. /.. / to escape the directory. This issue is fixed in version 2026.1.
AI Analysis
Technical Summary
FacturaScripts, an open source accounting and invoicing software, has a vulnerability (CVE-2026-27891) in the Plugins::add() function where improper input validation of ZIP archive file paths allows a Zip Slip attack. The testZipFile function verifies only that the ZIP contains one root folder but fails to sanitize individual file paths, enabling path traversal via filenames such as ValidPluginName/../../shell.php. This leads to arbitrary file writes and remote code execution by overwriting PHP files outside the plugins directory. The vulnerability affects versions prior to 2026.1 and is resolved in version 2026.1.
Potential Impact
Successful exploitation allows an attacker with high privileges to write arbitrary files anywhere the web server has write permissions, including overwriting PHP files, resulting in remote code execution. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade to FacturaScripts version 2026.1 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is included in version 2026.1.
CVE-2026-27891: CWE-20: Improper Input Validation in NeoRazorX facturascripts
Description
FacturaScripts versions 2026 and below contain a critical vulnerability in the Plugins::add() function that allows a Zip Slip attack via improper validation of file paths in uploaded ZIP archives. This flaw enables an attacker to perform arbitrary file writes and remote code execution by overwriting sensitive PHP files outside the intended plugins directory. The vulnerability arises because the testZipFile function only checks for a single root folder but does not sanitize file paths within that folder, allowing path traversal sequences like .. /.. / to escape the directory. This issue is fixed in version 2026.1.
CVSS v3.1
Score 7.2high
Affected software
pkg:github/neorazorx/facturascriptsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
FacturaScripts, an open source accounting and invoicing software, has a vulnerability (CVE-2026-27891) in the Plugins::add() function where improper input validation of ZIP archive file paths allows a Zip Slip attack. The testZipFile function verifies only that the ZIP contains one root folder but fails to sanitize individual file paths, enabling path traversal via filenames such as ValidPluginName/../../shell.php. This leads to arbitrary file writes and remote code execution by overwriting PHP files outside the plugins directory. The vulnerability affects versions prior to 2026.1 and is resolved in version 2026.1.
Potential Impact
Successful exploitation allows an attacker with high privileges to write arbitrary files anywhere the web server has write permissions, including overwriting PHP files, resulting in remote code execution. This compromises confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade to FacturaScripts version 2026.1 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the fix is included in version 2026.1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-24T15:19:29.717Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0b89ebec166c07b0006fbe
Added to database: 05/18/2026, 21:51:39 UTC
Last enriched: 05/26/2026, 08:25:19 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 93
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.