Skip to content
Fencer Vulns
medium 5.3

CVE-2026-58041 json

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

published 2026-08-04 3 mo ago modified 2026-10-23 16 d ago also BIT-node-2026-58041 , BIT-node-min-2026-58041 , EUVD-2026-52561

cvss
5.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 21%
public exploits
0
none known

Summary

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

Patch / fix

  • bitnami node 22.23.2, 24.18.1, 26.5.1
  • bitnami node-min 22.23.2, 24.18.1, 26.5.1
  • nodejs node.js 22.23.2, 24.18.1, 26.5.1
  • nodejs Debian 14 24.19.0+dfsg+~cs24.13.3-1

debian advisories DEBIAN-CVE-2026-58041

  • npm RHEL 8 1:11.17.0-1.24.19.0.1.module+el8.10.0+24711+b610b202
  • nodejs RHEL 8 1:24.19.0-1.module+el8.10.0+24711+b610b202
  • nodejs-libs RHEL 8 1:24.19.0-1.module+el8.10.0+24711+b610b202
  • nodejs-nodemon RHEL 8 3.1.14-2.module+el8.10.0+24711+b610b202
  • nodejs-full-i18n RHEL 8 1:24.19.0-1.module+el8.10.0+24711+b610b202
  • nodejs-packaging RHEL 8 2021.06-6.module+el8.10.0+24711+b610b202
  • nodejs-packaging-bundler RHEL 8 2021.06-6.module+el8.10.0+24711+b610b202
  • npm RHEL 9 1:11.17.0-1.24.19.0.1.module+el9.8.0+24708+e71d2e1d

red hat advisories RHSA-2026:62583RHSA-2026:61386RHSA-2026:61377RHSA-2026:52990RHSA-2026:48537RHSA-2026:48305

  • nodejs24 SLES 16.0, SLES for SAP applications 16.0 24.18.1-160000.1.1
  • nodejs24 SLE Module for Web and Scripting 15 SP7 24.18.1-150700.15.16.1

suse advisories SUSE-SU-2026:23131-1SUSE-SU-2026:23155-1SUSE-SU-2026:3520-1

  • nodejs24 openSUSE Leap 16.0 24.18.1-160000.1.1
  • nodejs24 openSUSE Tumbleweed 24.18.1-1.1
  • nodejs26 openSUSE Tumbleweed 26.5.1-1.1

opensuse advisories openSUSE-SU-2026:21546-1openSUSE-SU-2026:11439-1openSUSE-SU-2026:11440-1

  • npm AlmaLinux 8 1:11.17.0-1.24.19.0.1.module_el8.10.0+4268+8e07aa5a
  • nodejs AlmaLinux 8 1:24.19.0-1.module_el8.10.0+4268+8e07aa5a
  • nodejs-libs AlmaLinux 8 1:24.19.0-1.module_el8.10.0+4268+8e07aa5a
  • nodejs-nodemon AlmaLinux 8 3.1.14-2.module_el8.10.0+4250+09238ed4
  • nodejs-full-i18n AlmaLinux 8 1:24.19.0-1.module_el8.10.0+4268+8e07aa5a
  • nodejs-packaging AlmaLinux 8 2021.06-6.module_el8.10.0+4086+70facd4a
  • nodejs-packaging-bundler AlmaLinux 8 2021.06-6.module_el8.10.0+4086+70facd4a
  • nodejs24 AlmaLinux 10 1:24.19.0-1.el10_2

almalinux advisories ALSA-2026:62583ALSA-2026:61377ALSA-2026:61386

  • nodejs Alpine 3.24, Alpine 3.23 24.18.1-r0
  • nodejs-current Alpine 3.24 26.5.1-r0

alpine advisories ALPINE-CVE-2026-58041

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-58041 updated cvss 5.3

nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator

  • Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Enterprise Linux 10 nodejs26 26.1.0-1.el10
    affected: workaround, no fix available
  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 24.19.0-1.module+el8.10.0+24711+b610b202, nodejs-libs 24.19.0-1.module+el8.10.0+24711+b610b202, nodejs-nodemon 3.1.14-2.module+el8.10.0+24711+b610b202, npm 11.17.0-1.24.19.0.1.module+el8.10.0+24711+b610b202, nodejs-full-i18n 24.19.0-1.module+el8.10.0+24711+b610b202, nodejs-packaging 2021.06-6.module+el8.10.0+24711+b610b202, +1 more
    fixed: vendor fix RHSA-2026:62583
  • Red Hat Enterprise Linux AppStream (v. 9) nodejs 24.19.0-1.module+el9.8.0+24708+e71d2e1d, nodejs-libs 24.19.0-1.module+el9.8.0+24708+e71d2e1d, nodejs-nodemon 3.1.14-3.module+el9.8.0+24708+e71d2e1d, npm 11.17.0-1.24.19.0.1.module+el9.8.0+24708+e71d2e1d, nodejs-full-i18n 24.19.0-1.module+el9.8.0+24708+e71d2e1d, nodejs-packaging 2021.06-6.module+el9.8.0+24708+e71d2e1d, +1 more
    fixed: vendor fix RHSA-2026:61386
  • Red Hat Enterprise Linux AppStream (v. 10) nodejs24 24.19.0-1.el10_2, nodejs24-libs 24.19.0-1.el10_2, nodejs24-full-i18n 24.19.0-1.el10_2, nodejs24-npm 11.17.0-1.24.19.0.1.el10_2
    fixed: vendor fix RHSA-2026:61377
  • Red Hat Hardened Images nodejs22 22.23.2-2.3.hum1, nodejs24 24.18.1-0.1.hum1, nodejs26 26.7.0-1.5.1.hum1, nodejs22-bin 22.23.2-2.3.hum1, nodejs24-bin 24.18.1-0.1.hum1, nodejs22-libs 22.23.2-2.3.hum1, +12 more
    fixed: vendor fix RHSA-2026:48305
  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Enterprise Linux 10 nodejs22 Red Hat Hardened Images v8-12.4-devel 12.4.254.21-1.22.23.2.2.3.hum1, v8-13.6-devel 13.6.233.17-1.24.18.1.0.1.hum1, v8-14.6-devel 14.6.202.34-1.26.7.0.1.5.1.hum1
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
3 mo ago

Exploit prediction

0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 5.3 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV 3.0 5.3 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami node
<22.23.2
>=23.0.0, <24.18.1
>=25.0.0, <26.5.1
22.23.2
24.18.1
26.5.1
bitnami node-min
<22.23.2
>=23.0.0, <24.18.1
>=25.0.0, <26.5.1
22.23.2
24.18.1
26.5.1

Affected products

  • nodejs node

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.