Improper control of a resource through its lifetime in Node.js - CVE-2026-58041
Published: July 29, 2026 / Updated: July 29, 2026
Node.js
Detailed vulnerability description
The vulnerability allows a local user to re-execute writes with new parameters.
The vulnerability exists due to improper state management in node:sqlite SQLTagStore when a stale StatementSyncIterator continues executing a cached prepared statement after it has been reset and rebound with new parameters. A local user can reuse a stale iterator to re-execute writes with new parameters.
The issue involves StatementSyncIterator objects created through DatabaseSync#createTagStore().