CVE-2026-45262
9.9CriticalPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-89, CWE-918
What an attacker gets
Authenticated attackers can perform SQL injection to exfiltrate data from any table, including user credentials. This requires an active account on the FacturaScripts instance.
Root cause
The sqlColumn function fails to properly escape identifier strings containing parentheses, allowing raw input to be concatenated directly into SQL queries.
Affected versions
FacturaScripts prior to version 2026.2
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Fix & remediation
Upgrade to version 2026.2 or later. If you cannot patch immediately, restrict access to the API endpoints.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::sqlColumn() exempts any field name that contains both ( and ) from identifier escaping. The two API filter builders (APIModel::getWhereValues and ApiAttachedFiles::getWhereValues) feed the raw request key ($_GET['filter'][$key]) straight into new DataBaseWhere($key, $value, '=', ...). When the model's all() reaches Where::multiSqlLegacy -> Where::sql() -> Where::sqlColumn($key), the parenthesis branch returns the attacker-controlled string unmodified. The string is concatenated into WHERE <attacker> = '<value>', which an attacker can pivot to WHERE (0)UNION SELECT ... FROM users WHERE(nick='admin')-- = 'value', leaking arbitrary columns from any table. This issue has been patched in version 2026.2.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-452638.0HighAuthenticated attackers can execute arbitrary commands on an administrator's machine via CSV injection. The attack requires an admin to download and open a malicious CSV export generated by the software.
- CVE-2026-456937.5HighUnauthenticated attackers can read sensitive files like database backups and invoices from the server. They only need to send a crafted URL containing directory traversal sequences.
- CVE-2026-476779.3CriticalUnauthenticated attackers can bypass authentication and gain full access to the application. They only need to brute-force the TOTP endpoint at /login?action=two-factor-validation.
- CVE-2026-774329.3CriticalUnauthenticated attackers can execute arbitrary SQL queries to modify, delete, or exfiltrate data from your database. No user interaction or authentication is required to exploit this.
- CVE-2026-1450559.8CriticalUnauthenticated remote attackers can execute arbitrary code, read local files, or perform SSRF attacks. This is possible because the application binds to all interfaces and lacks proper request authentication and file path validation.
- CVE-2026-1450519.8CriticalUnauthenticated attackers can take over any account, including administrators, by spoofing credentials via the LoginWordPress plugin. Attackers only need to know a valid username on the configured WordPress site to gain access.