CVE-2026-27891
Remote Code Execution (RCE) via Zip Slip in Plugin Upload Mechanism
Also known as GHSA-3pgc-xqg9-cfr6
Mitigation
- Upgrade facturascripts to 2026.1 or later.
Who should check
- Projects that depend on Packagist package facturascripts/facturascripts (<= 2025.71)
- Anyone running NeoRazorX facturascripts < 2026.1
Vulnerability facts
- Affected
- facturascripts/facturascripts <= 2025.71
- Fixed in
- NeoRazorX facturascripts 2026.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.87% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-20, CWE-434
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist facturascripts/facturascripts | <= 2025.71 | — | osv |
| NeoRazorX facturascripts | < 2026.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-27891. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-27891.md Affected: facturascripts/facturascripts <= 2025.71 Fixed in: NeoRazorX facturascripts 2026.1 Steps: 1. Search this machine and project for facturascripts/facturascripts (Packagist), NeoRazorX facturascripts: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-27891 being exploited?
There is no confirmed exploitation: CVE-2026-27891 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-27891?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-27891?
facturascripts/facturascripts <= 2025.71.
Is there a fix for CVE-2026-27891?
Yes. Fixed in NeoRazorX facturascripts 2026.1. Upgrade facturascripts to 2026.1 or later.
How do I check if I'm affected by CVE-2026-27891?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.