Skip to main content
Mallory
UnratedVulnerability

CVE-2026-45262: Authenticated SQL Injection in FacturaScripts REST API Filter Keys

Updated 28 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-45262CWE-89

CVE-2026-45262 is an authenticated SQL injection vulnerability in FacturaScripts REST API filter-key processing. Where::sqlColumn returns identifiers containing parentheses without escaping, allowing attacker-controlled filter keys to alter SQL queries. Generic resource handlers and the attached-files handler are affected through APIModel::getWhereValues and ApiAttachedFiles::getWhereValues. A low-privilege API token restricted to a permitted resource can exploit the flaw to bypass resource restrictions and disclose arbitrary database columns. Administrator credential disclosure and session takeover have been demonstrated. The vulnerability has a CVSS v3.0 base score of 9.9.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Exploitation can expose password hashes, session tokens, two-factor authentication secrets, API keys, email addresses, and financial data beyond the resources authorized for the attacker's API token. Stolen administrator session tokens permit administrator impersonation and access to privileged management functions. This can potentially lead to arbitrary code execution through plugin installation. Database modification and filesystem writes depend on reachable write paths, database engine capabilities, and database privileges. Successful malicious queries may leave no application error-log evidence. The CVSS assessment indicates changed scope and high confidentiality, integrity, and availability impacts.

Mitigation

If you can’t patch tonight, do this now.

Until patched, disable API access or restrict it to trusted clients where operationally feasible. Validate filter field names in both affected API handlers, allowing only valid identifiers after processing operator suffixes. Log invalid filter attempts and throttle offending sources. Resource-scoped API permissions and response-field redaction do not prevent exploitation. If exposure or exploitation is suspected, invalidate user session tokens, rotate passwords and API credentials, and assess other database-held secrets for compromise.

Remediation

Patch, then assume compromise.

Upgrade facturascripts/facturascripts and related packages to version 2026.2 or later. Code-level remediation replaces the parentheses-based escaping exemption in Where::sqlColumn with strict identifier validation and narrowly parsed, explicitly supported SQL expressions. Independently validate filter keys in both APIModel::getWhereValues and ApiAttachedFiles::getWhereValues, and add regression tests for malicious filter identifiers and cross-resource disclosure attempts.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-45262 exploited in the wild?
As of Nov 3, 2026, Mallory has no reports of CVE-2026-45262 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-45262?
As of Nov 3, 2026, Mallory has found no public exploit for CVE-2026-45262.
Is there a patch for CVE-2026-45262?
Upgrade facturascripts/facturascripts and related packages to version 2026.2 or later. Code-level remediation replaces the parentheses-based escaping exemption in Where::sqlColumn with strict identifier validation and narrowly parsed, explicitly supported SQL expressions.
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.