5.3medium
A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to continue executing a ca…
- Severity
- 5.3medium CVSS:3.0 by hackerone
- Exploit likelihood
- 0.28% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2026-58041BIT-NODE-MIN-2026-58041
Description
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**.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nodejs node | from 22.23.1 up to 22.23.1, from 24.18.0 up to 24.18.0, from 26.5.0 up to 26.5.0 | CVE List |
| node (Bitnami) | before 22.23.2, from 23.0.0 before 24.18.1, from 25.0.0 before 26.5.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | before 22.23.2, from 23.0.0 before 24.18.1, from 25.0.0 before 26.5.1 | Bitnami Vulnerability Database |
All scores
| hackerone | 5.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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**.
NVD (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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58041 changed 2026-08-04 | CVE Terms of Use |
| NVD | CVE-2026-58041 changed 2026-10-23 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2026-58041 changed 2026-08-17 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2026-58041 changed 2026-08-17 | Apache-2.0 |