Skip to main content

FacturaScripts EUVDEUVD-2026-30808

| CVE-2026-27891 HIGH
Improper Input Validation (CWE-20)
2026-05-07 https://github.com/NeoRazorX/facturascripts GHSA-3pgc-xqg9-cfr6
7.2
CVSS 3.1 · Vendor: https://github.com/NeoRazorX/facturascripts
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain admin credentials
  2. Delivery
    Authenticate to FacturaScripts panel
  3. Exploit
    Navigate to plugin upload interface
  4. Install
    Craft malicious ZIP with path traversal
  5. C2
    Upload ZIP archive
  6. Execute
    Trigger extraction via plugin installation
  7. Impact
    Webshell written to web root
  8. Step 8
    Execute arbitrary system commands

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires authenticated access with high-privilege administrative role in FacturaScripts-specifically, an account with permission to install plugins through the 'Add Plugin' administrative interface. The CVSS vector confirms PR:H (high privileges required). This functionality is standard in FacturaScripts administrative panels and likely enabled by default for administrator roles. No special server configuration, non-default feature flags, or specific PHP settings are required. Exploitation is NOT possible for unauthenticated users or low-privilege authenticated users without plugin installation rights. The limiting factor is the authentication barrier-organizations with strong administrative credential security (MFA, password policies, session management) face substantially lower risk than those with weak admin account protection or shared administrative credentials.

Impact

Real-world risk is moderate despite the High CVSS severity of 7.2. The CVSS vector (AV:N/AC:L/PR:H/UI:N) reveals that exploitation requires high-privilege authentication-specifically, administrative access to the FacturaScripts application. This significantly constrains the attack surface to three primary scenarios: compromised administrator credentials, malicious insiders with legitimate admin access, or chained exploitation following an initial authentication bypass vulnerability. The public proof-of-concept lowers the technical barrier for exploitation once admin access is obtained. No EPSS score or CISA KEV status is provided in the available data, suggesting no confirmed widespread or automated exploitation at analysis time. The vulnerability is not exploitable by external unauthenticated attackers, which substantially reduces urgency compared to similar RCE flaws with PR:N. However, the complete system compromise potential (full CIA triad impact) makes this critical for environments where administrator account security cannot be guaranteed or where multi-tenant installations exist. The 'Add Plugin' functionality is a standard administrative feature likely enabled by default, meaning no special configuration increases attack surface.

Exploit ScenarioDerived

An attacker who has compromised an administrator account (through phishing, credential stuffing, or session hijacking) logs into the FacturaScripts administrative panel. They navigate to the plugin management section and upload a specially crafted ZIP file named 'legitimate-plugin.zip' containing an entry 'AccountingTools/../../webshell.php' with PHP code payload '<?php system($_GET['cmd']); ?>'. The vulnerable testZipFile function sees 'AccountingTools' as a valid root folder and allows extraction. The web server writes webshell.php to the application root directory. The attacker then accesses https://victim-site.com/webshell.php?cmd=cat%20/etc/passwd to execute arbitrary commands with web server privileges, exfiltrate database credentials from configuration files, and establish persistent backdoor access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Remote code execution in FacturaScripts ≤2025.71 allows authenticated administrators to upload malicious ZIP files containing path traversal sequences (Zip Slip attack) through the plugin installation mechanism. The vulnerable Plugins::add() function fails to sanitize file paths within ZIP archives, enabling attackers to write arbitrary PHP files outside the plugins directory and execute system commands. A public proof-of-concept exists demonstrating full system compromise. CVSS scores this at 7.2 (High) but requires high-privilege authentication (PR:H), significantly limiting real-world attack surface to scenarios involving compromised admin credentials or malicious insiders.

RemediationAI

No vendor-released patch has been identified at the time of analysis according to the GitHub advisory data. The upstream repository (https://github.com/NeoRazorX/facturascripts) has published advisory GHSA-3pgc-xqg9-cfr6 acknowledging the vulnerability but no fixed version is specified in available data. Until an official patch is released, implement these compensating controls: (1) Restrict plugin installation permissions to only fully trusted administrators and audit all accounts with this capability; (2) Implement file integrity monitoring on the web root directory to detect unauthorized PHP file creation; (3) Configure web server permissions using principle of least privilege-ensure the PHP process cannot write to the web root or application base directory, only to designated upload/cache directories (note: this may break legitimate plugin installation functionality); (4) Deploy a web application firewall rule to inspect uploaded ZIP files for path traversal sequences in entry names, though this may cause false positives with legitimately complex plugin structures. Monitor the official GitHub repository and GHSA-3pgc-xqg9-cfr6 for patch availability.

Affected VersionsENISA

facturascripts < 2026.1

Affected Packages

composer facturascripts/facturascripts no fix
euvd facturascripts fix: 2026.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects FacturaScripts, a PHP-based open-source billing and accounting application (pkg:composer/facturascripts_facturascripts). The flaw resides in the Plugins.php file's testZipFile validation logic, which implements insufficient path traversal protection during plugin ZIP extraction. The code uses PHP's explode() function to parse file paths and verify a single root folder exists, but does not normalize or sanitize path components before extraction. This represents a classic CWE-20 (Improper Input Validation) failure pattern. The vulnerability exploits the semantic gap between path validation (which operates on split string arrays) and file extraction (which processes literal paths including '../' sequences). During extraction, the ZipArchive class writes files based on unsanitized paths, allowing directory traversal outside the intended plugins directory to any location where the web server process has write permissions.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/NeoRazorX/facturascripts) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (https://github.com/NeoRazorX/facturascripts) · only source for this CVE.

CVSS VectorVendor: https://github.com/NeoRazorX/facturascripts

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
May 18, 2026 - 22:16 EUVD
CVE Published
May 07, 2026 - 19:32 nvd
HIGH 7.2

DescriptionCVE.org

Summary

A Critical vulnerability exists 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.

Details

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.

js
// Vulnerable logic in Plugins.php
for ($index = 0; $index < $zipFile->numFiles; $index++) {
    $data = $zipFile->statIndex($index);
    $path = explode('/', $data['name']);
    if (count($path) > 1) {
        $folders[$path[0]] = $path[0];
    }
}

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.

PoC

Prepare Malicious ZIP: Use a tool (like evilarc) or a script to create a ZIP file where one of the entries is named: MyPlugin/../../rce.php Inject Payload: Inside rce.php, put a simple shell: <?php system($_GET['cmd']); ?> Upload: Navigate to the "Add Plugin" section in FacturaScripts and upload the malicious ZIP. Execution: Access the shell via https://target.com/rce.php?cmd=whoami.

Impact

Confidentiality: High (Attacker can read all database configs and files). Integrity: High (Attacker can modify any file on the server). Availability: High (Attacker can delete the entire installation). > https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-27891.md

Executive ViewAI

Why It Matters

FacturaScripts versions 2025.71 and earlier contain a remote code execution vulnerability in the plugin installation mechanism that allows authenticated administrators to execute arbitrary system commands through malicious ZIP file uploads. Organizations running affected versions should immediately restrict administrator access and monitor for unauthorized plugin installations, as successful exploitation could result in complete system compromise despite requiring high-privilege credentials.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict plugin installation to trusted administrators only; disable or remove the plugin installation feature from web-accessible interfaces; implement file integrity monitoring on the FacturaScripts installation directory; maintain offline backups and implement real-time file upload scanning using anti-malware tools; monitor system process execution logs for suspicious PHP execution patterns.

Threat Intelligence Overview

EPSS Score
0.1%
Top 71% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy