Vendors › Node.js

CVE-2026-58041

Medium (no CVSS assigned) EPSS 0.3% Node.js · Node.js

node:sqlite SQLTagStore iterator replay can re-execute writes

A flaw in 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.

Published2026-07-29
Updated2026-07-29
AffectedNode.js 26.x, 24.x, 22.x
FixUpgrade to v22.23.2, v24.18.1, v26.5.1 (first fixed release per supported branch).
Vendor advisoryhttps://nodejs.org/en/blog/vulnerability/july-2026-security-releases#nodesqlite-sqltagstore-iterator-replay-can-re-execute-writes-cve-2026-58041---medium

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-58041CWE-367Memory CorruptionOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.