CVE-2026-58041: A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to continue executing a…

CVE-2026-58041 affects 3 listed versions of Node.js in the Dawnsentry catalogue.

5.3CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
4 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Node.js

3 of 250 listed versions are affected. Fixed in 26.5.1. The newest release, 26.14.0, is not affected.

26.5.0 24.18.0 22.23.1

What it is

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**.

CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N (Hackerone)

Published by Hackerone on 4 August 2026. Last changed 23 October 2026.

Sources

Check one version you run: look CVE-2026-58041 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.