CVE-2026-58041
JSON

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 packageVersionsReported by
nodejs nodefrom 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.0CVE List
node (Bitnami)before 22.23.2, from 23.0.0 before 24.18.1, from 25.0.0 before 26.5.1Bitnami Vulnerability Database
node-min (Bitnami)before 22.23.2, from 23.0.0 before 24.18.1, from 25.0.0 before 26.5.1Bitnami Vulnerability Database

All scores

hackerone5.3medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-367

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

SourceRecordLicence
CVE ListCVE-2026-58041 changed 2026-08-04CVE Terms of Use
NVDCVE-2026-58041 changed 2026-10-23Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2026-58041 changed 2026-08-17Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2026-58041 changed 2026-08-17Apache-2.0