{"id":"CVE-2026-54687","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-54687","summary":"n8n-nodes-sqlite3 vulnerable to path traversal via user-controlled database file path (db_path parameter)","details":"## Affected versions\n< 1.0.0\n\n## Patched version\n1.0.0\n\n## Description\nIn versions prior to 1.0.0, the SQLite node accepted the database file\npath as a direct node parameter visible and editable in the workflow.\nA workflow author who mapped untrusted user input to the db_path field\ncould allow an attacker to control which file was opened by SQLite,\npotentially enabling path traversal to read or overwrite arbitrary\nfiles accessible to the n8n process.\n\nThe vulnerability requires the workflow author to explicitly wire\nuntrusted input to the db_path parameter, so it does not affect\nstandalone deployments where only trusted users author workflows.\nHowever, in multi-tenant or user-facing n8n deployments the risk\nis elevated.\n\nFixed in v1.0.0 by moving the database path into a credential\n(v2 node architecture), which is stored server-side and not\ncontrollable by workflow input data.\n\n## References\n- Fix commit: 145a887\n- Introduced credential-based path: v2 node\n\n## Credits\ndyingman1 (role: Reporter)","published":"2026-08-27T17:06:55Z","modified":"2026-08-27T17:15:08.175141176Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"n8n-nodes-sqlite3","fixedVersion":"1.0.0"}],"fix":{"url":"https://github.com/DangerBlack/n8n-node-sqlite3/pull/25","label":"DangerBlack/n8n-node-sqlite3#25"},"references":[{"type":"WEB","url":"https://github.com/DangerBlack/n8n-node-sqlite3/security/advisories/GHSA-q7m3-rhxg-7vxr"},{"type":"WEB","url":"https://github.com/DangerBlack/n8n-node-sqlite3/pull/25"},{"type":"WEB","url":"https://github.com/DangerBlack/n8n-node-sqlite3/commit/145a8876ff12375813bdcd4ae4fe78f460c53a98"},{"type":"PACKAGE","url":"https://github.com/DangerBlack/n8n-node-sqlite3"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T17:15:08.175141176Z"}}