CVE-2026-58041: SQL Injection

Published Aug 4, 2026
·
Updated

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 sqlite3reset() 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 Software

2 affected components
npm/node:sqlite
OpenJS Foundation Node.js>=22.0.0<=22.x, >=24.0.0<=24.x, >=26.0.0<=26.x

Event History

Aug 4, 2026
CVE Published
via MITRE·12:49 AM
Data Sourced
via MITRE·12:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-58041?

The severity of CVE-2026-58041 is classified as medium with a score of 5.3.

2

How do I fix CVE-2026-58041?

To fix CVE-2026-58041, ensure you are using the updated versions of Node.js and the node:sqlite package that address this vulnerability.

3

What kind of vulnerability is CVE-2026-58041?

CVE-2026-58041 is classified as a SQL Injection vulnerability.

4

What software is affected by CVE-2026-58041?

CVE-2026-58041 affects the npm/node:sqlite package and OpenJS Foundation Node.js.

5

What does CVE-2026-58041 allow an attacker to do?

CVE-2026-58041 allows an attacker to execute a stale StatementSyncIterator, potentially leading to unintended behavior or exposure of data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203