EXPOSURES › CVE-2026-54310
CVE-2026-54310
CRITICALAn authenticated user could inject arbitrary SQL into n8n's TimescaleDB/Postgres nodes, compromising connected databases.
This SQL injection flaw allowed attackers to execute arbitrary SQL commands within the privileges of the configured database account, risking data exfiltration or modification. DIB organizations must ensure n8n is patched to 2.25.7 or 2.26.2 and restrict database account privileges to limit blast radius.
Shame score — The vulnerability was unpatched for a significant period and allowed arbitrary SQL execution, which is a severe data integrity and confidentiality breach.
▸ RECOMMENDED ACTION Critical severity — schedule patching of the affected products.
n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could supply a crafted parameters to the TimescaleDB and/or legacy Postgres v1 node's allowing arbitrary SQL to be injected and executed against the connected database within the privileges of the configured database account. This vulnerability is fixed in 2.25.7 and 2.26.2.