CVE-2026-58041
published 2026-08-04CVE-2026-58041: A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to continue executing a cached prepared…
PriorityP429medium5.3CVSS 3.0
AVNACHPRNUIRSUCNIHAN
EPSS
0.32%
24.9th percentile
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
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| nodejs | node | 22.23.1 – 22.23.1 | — |
| nodejs | node | 24.18.0 – 24.18.0 | — |
| nodejs | node | 26.5.0 – 26.5.0 | — |
| nodejs_22 | nodejs | — | — |
| nodejs_24 | nodejs | — | — |
CVSS provenance
nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Node.js up to 22.23.0/24.17.x/26.4.x StatementSyncIterator DatabaseSync#createTagStore sql injection
vuldb·2026-08-04·CVSS 5.3
CVE-2026-58041 [MEDIUM] Node.js up to 22.23.0/24.17.x/26.4.x StatementSyncIterator DatabaseSync#createTagStore sql injection
A vulnerability categorized as critical has been discovered in Node.js up to 22.23.0/24.17.x/26.4.x. Affected is the function DatabaseSync#createTagStore of the component StatementSyncIterator. Such manipulation leads to sql injection.
This vulnerability is documented as CVE-2026-58041. The attack can be executed remotely. There is not any exploit available.
It is advisable to upgrade the affected component.
GHSA
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 w
ghsa_unreviewed·2026-08-04
CVE-2026-58041 [MEDIUM] CWE-367 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 w
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**.
Red Hat
nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator
vendor_redhat·2026-08-04·CVSS 5.3
CVE-2026-58041 [MEDIUM] CWE-367 nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator
nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator
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**.
A flaw was found in Node.js's `node:sqlite` module. This vulnerability allows a previously used database statement, which should have been reset, to be re-executed with new parameters. This could lead to unintended data modifications or integrity issues wi
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-58041 nodejs24: Node.js node:sqlite: Unintended data modification due to stale statement iterator [fedora-all]
bugzilla·2026-08-10·CVSS 5.3
CVE-2026-58041 [MEDIUM] CVE-2026-58041 nodejs24: Node.js node:sqlite: Unintended data modification due to stale statement iterator [fedora-all]
CVE-2026-58041 nodejs24: Node.js node:sqlite: Unintended data modification due to stale statement iterator [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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**.
Bugzilla
CVE-2026-58041 nodejs22: Node.js node:sqlite: Unintended data modification due to stale statement iterator [fedora-all]
bugzilla·2026-08-10·CVSS 5.3
CVE-2026-58041 [MEDIUM] CVE-2026-58041 nodejs22: Node.js node:sqlite: Unintended data modification due to stale statement iterator [fedora-all]
CVE-2026-58041 nodejs22: Node.js node:sqlite: Unintended data modification due to stale statement iterator [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
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**.
Bugzilla
CVE-2026-58041 nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator
bugzilla·2026-08-04·CVSS 5.3
CVE-2026-58041 [MEDIUM] CVE-2026-58041 nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator
CVE-2026-58041 nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator
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**.
2026-08-04
Published