CVE-2026-58041

A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to continue executing a cached prepared statement after it has been reset and rebound with new parameters. SQLTagStore resets cached statements using sqlite3_reset() directly, bypassing the iterator invalidation mechanism introduced for StatementSync in recent releases This vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.
Configurations

No configuration.

History

23 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) Un fallo en Node.js node:sqlite permite que un StatementSyncIterator obsoleto creado a través de DatabaseSync#createTagStore() continúe ejecutando una sentencia preparada en caché después de haber sido reiniciado y reasociado con nuevos parámetros. SQLTagStore reinicia las sentencias en caché usando sqlite3_reset() directamente, omitiendo el mecanismo de invalidación del iterador introducido para StatementSync en versiones recientes. Esta vulnerabilidad afecta a Node.js 22.x, 24.x, y 26.x.

Information

Published : 2026-08-04 01:16

Updated : 2026-10-23 23:10


NVD link : CVE-2026-58041

Mitre link : CVE-2026-58041

CVE.ORG link : CVE-2026-58041


JSON object : View

Products Affected

No product.

CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition