CVE-2026-58041: Node.js Node

Medium severity, CVSS 5.3. EPSS: 0.3% chance of exploitation in the next 30 days.

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 products

  • Node.js Node: from 22, up to and including 22.23.1; from 24, up to and including 24.18.0; from 26, up to and including 26.5.0

Published 2026-08-04. Last modified 2026-09-03.