Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated DB write access
-
DeliveryStore malicious SQL as connector identifier
-
ExploitAdmin runs migration during upgrade
-
ExecutionUnparameterized identifier executed as SQL
-
ImpactUnauthorized data disclosure, modification, or deletion
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two concrete prerequisites confirmed by the description and diff: (1) the attacker must already have write access to the flowintel database to plant a malicious value in the 'identifier' column of the case__connector__instance or task__connector__instance table, and (2) a migration/upgrade operation must subsequently be executed, which reads that stored identifier and interpolates it into an UPDATE statement. Limiting factors that reduce realistic risk: it is not remotely triggerable on its own (local/config-dependent, AV:L), it needs prior authenticated write access (PR:L), and it depends on an operator-controlled event - the admin running the migration - that the attacker cannot directly initiate (AT:P). Affected deployments are flowintel prior to 4.0.0; upgrading to 4.0.0 (the patched migration) is the fix. |
| Impact | This is a genuine but constrained, low-urgency SQL injection (CWE-89) in flowintel's database migration script, best understood as a high-ish-CVSS-but-gated-real-risk issue rather than an emergency. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:L) tells a consistent story with the description: an attacker needs existing authenticated write access to the database (PR:L) to plant a malicious connector identifier value, the attack carries a requirement outside the attacker's control (AT:P) - namely that an administrator subsequently runs the migration during an upgrade - and conditions are non-trivial (AC:H). The source diff confirms the mechanism exactly: the pre-patch code interpolates the stored identifier via a Python f-string ( |
| Exploit ScenarioDerived | An attacker who already holds authenticated write access to flowintel's database stores a crafted SQL payload as a connector 'identifier' value in the case__connector__instance or task__connector__instance table. Later, when an administrator upgrades flowintel and the migration script runs, that stored identifier is interpolated unparameterized into an UPDATE statement and executed, letting the attacker read, alter, or delete arbitrary data. No public exploit code was provided, and exploitation depends on the privileged migration being run after the payload is planted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
SQL injection in Flowintel's database migration code (CWE-89) lets an attacker who has already planted a malicious value in the connector 'identifier' column achieve arbitrary SQL execution the next time an administrator runs a migration or upgrade. All Flowintel releases prior to 4.0.0 are affected; the flaw is gated on two preconditions - prior authenticated write access to the database and an operator-initiated migration - so it cannot be triggered remotely on its own, and no public exploit has been identified at time of analysis. Fixing it means upgrading to 4.0.0, which replaces the string-interpolated SQL with bound parameters.
RemediationAI
Upgrade Flowintel to 4.0.0, which contains the patched migration that uses bound parameters instead of f-string interpolation; the vendor-supplied fix is commit 061053689dc279a3c2c182f8dc15cd42dc24bd7d (https://github.com/flowintel/flowintel/commit/061053689dc279a3c2c182f8dc15cd42dc24bd7d), and per the available data updating is the complete fix. Because the injection is second-order, upgrading without also cleansing stored data does not remove already-planted payloads: before running any migration, review the identifier column of case__connector__instance and task__connector__instance and remove or escape unexpected values, and restrict database write access to trusted accounts so untrusted parties cannot seed the tables in the first place. Deployments that cannot upgrade immediately should treat the migration step as a privileged, supervised operation - run it against a verified backup with a low-privilege database account and only after the connector tables have been audited - accepting that this reduces but does not eliminate exposure while the vulnerable script remains on disk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flowintel uses Alembic/SQLAlchemy migration scripts, and revision 5cd03995339b_ migrated connector identifiers by building SQL statements with Python f-strings that interpolated values read back from the case__connector__instance and task__connector__instance tables directly into SELECT and UPDATE statements passed to sa.text(). Because the stored 'identifier' and id values were concatenated rather than bound, any quote or SQL fragment surviving in a stored identifier is executed with the migration's database privileges. The upstream fix converts every such statement to named bind parameters (:case_id, :instance_id, :ident, :id) and replaces the string sentinel "null" for empty identifiers with a genuine Python None, so no attacker-controlled text reaches the SQL grammar. The root cause class is CWE-89 (SQL injection) arising from second-order data flow - the injected payload is written once and detonated later during schema migration.
Know when Flowintel 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
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Requires prior authenticated DB write access (PR:L) and a separate operator-run migration the attacker cannot control (AC:H, AV:L); full read/write/delete of data gives C:H/I:H/A:H with no scope change.
Primary rating from Vendor (CIRCL).
CVSS VectorVendor: CIRCL
DescriptionCVE.org
A SQL injection vulnerability exists in a database migration script in flowintel.
The migration process reads stored connector identifier values from the database and interpolates them directly into SQL statements without parameterization. An attacker who has previously written a malicious identifier value into the affected tables can cause arbitrary SQL execution when the migration is subsequently run during an application upgrade.
- Requires prior write access to the database to plant a malicious identifier value
- Triggered automatically during a migration or upgrade operation
- Can result in unauthorized data disclosure, modification, or deletion
Affected versions: flowintel prior to 4.0.0
Executive ViewAI
Flowintel users on any release prior to 4.0.0 carry a high-severity SQL injection flaw in the platform's database migration code that could allow arbitrary SQL execution, but only under narrow preconditions. The risk is concentrated rather than immediate: an attacker must already hold authenticated write access to the connector 'identifier' column and an administrator must then initiate a migration or upgrade, meaning leadership should view this as an insider-privilege escalation concern rather than an external attack surface. Because no public exploit has been identified at time of analysis and exploitation depends on existing database access, the near-term organizational impact is limited, but unpatched systems leave a latent privilege-escalation path open.
Vendor-released patch: 4.0.0
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Flowintel deployments prior to 4.1.0 accept any TLS certificate presented by the MISP servers and mail servers they talk
Persistent session hijacking is possible in Flowintel version 3.3.0 and later because the application fails to invalidat
Remote code execution in Flowintel's alerts settings update endpoint (versions >= 3.3.0) allows an authenticated high-pr
Privilege escalation in Flowintel's administrative user-edit API allows an organization administrator to modify full adm
Flowintel builds prior to 4.1.0 expose an authorization bypass in the browser-based admin user editing view (edit_user),
Organization-scoped administrators in flowintel before 4.1.0 can permanently delete platform-level administrator account
Remote code execution via log path traversal in Flowintel 3.3.0 and later is achievable by an authenticated administrato
Flowintel releases before 4.1.0 tie browser authentication to a bare numeric user ID instead of a credential-bound token
Flowintel before 4.1.0 exposes private case data to authenticated low-privileged users through its task calendar views a
FlowIntel before 4.1.0 allows an authenticated user with only basic case membership, such as an editor or queuer, to del
Broken object-level authorization across Flowintel task endpoints allows authenticated editor-level users to perform una
An authorization bypass in flowintel before 4.1.0 allows authenticated users who hold only editor or queuer roles to mar
EUVD-2026-120079
GHSA-29rj-4jqp-xhr4
NVD
CVE.org
EPSS
Exploit-DB