{"affected":[{"product":"flowintel","source":"CNA: CIRCL","vendor":"flowintel","versions":[{"lessThanOrEqual":"4.0.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-124850","cwes":["CWE-89"],"description":"A SQL injection vulnerability exists in a database migration script in flowintel.\n\nThe 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.\n\n- Requires prior write access to the database to plant a malicious identifier value\n- Triggered automatically during a migration or upgrade operation\n- Can result in unauthorized data disclosure, modification, or deletion\n\nAffected versions: flowintel prior to 4.0.0","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.3,"severity":"high","source":"CNA: CIRCL","vector":"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","version":"4.0"}],"modifiedAt":1794235407959,"publishedAt":1794235407959,"references":[{"source":"CNA: CIRCL","tags":["patch"],"url":"https://github.com/flowintel/flowintel/commit/061053689dc279a3c2c182f8dc15cd42dc24bd7d"}],"remediation":[{"kind":"fix","source":"CNA: CIRCL","text":"The vulnerability is remediated by replacing direct string interpolation of stored database values into SQL queries with parameterized (bound) queries, ensuring that user-supplied or stored data is treated strictly as data rather than executable SQL. Additionally, the NULL handling for identifier fields is corrected to use proper SQL NULL instead of the string literal 'null', preventing both injection and unintended data corruption."},{"kind":"fix","source":"CNA: CIRCL","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/flowintel/flowintel/commit/061053689dc279a3c2c182f8dc15cd42dc24bd7d"}],"revision":"5a2b6d15ed981275ff9dc7a31ad6ca9445b34eda93baade01831c6245b91aab7","sources":[{"modifiedAt":1794235407959,"name":"CNA: CIRCL","retrievedAt":1794237060856,"url":"https://www.cve.org/CVERecord?id=CVE-2026-124850"}],"ssvc":{"assessedAt":1794233537000,"automatable":"yes","exploitation":"none","source":"CNA: CIRCL","technicalImpact":"total"},"status":"published","title":"SQL Injection in Database Migration via Stored Connector Identifiers in flowintel","updatedAt":1794237060856}