Vulnerability · Published Aug 4, 2026 · Assigned by hackerone

CVE-2026-58041

Medium 5.3

In plain English

A medium-severity security flaw in node from nodejs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)5.3Medium
Exploit odds (30 days)0.3%top 78.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:24.19.0-1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9nodejs1:24.19.0-1.module_el9.8.0+301+084fac05ALSA-2026:61386
AlmaLinux:8nodejs-devel1:24.19.0-1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9nodejs-devel1:24.19.0-1.module_el9.8.0+301+084fac05ALSA-2026:61386
AlmaLinux:8nodejs-docs1:24.19.0-1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9nodejs-docs1:24.19.0-1.module_el9.8.0+301+084fac05ALSA-2026:61386
AlmaLinux:8nodejs-full-i18n1:24.19.0-1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9nodejs-full-i18n1:24.19.0-1.module_el9.8.0+301+084fac05ALSA-2026:61386
AlmaLinux:8nodejs-libs1:24.19.0-1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9nodejs-libs1:24.19.0-1.module_el9.8.0+301+084fac05ALSA-2026:61386
AlmaLinux:8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:62583
AlmaLinux:9nodejs-nodemon3.1.14-3.module_el9.8.0+292+f4eaf8b2ALSA-2026:61386
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:62583
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:61386
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:62583
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:61386
AlmaLinux:10nodejs241:24.19.0-1.el10_2ALSA-2026:61377
AlmaLinux:10nodejs24-devel1:24.19.0-1.el10_2ALSA-2026:61377
AlmaLinux:10nodejs24-docs1:24.19.0-1.el10_2ALSA-2026:61377
AlmaLinux:10nodejs24-full-i18n1:24.19.0-1.el10_2ALSA-2026:61377
AlmaLinux:10nodejs24-libs1:24.19.0-1.el10_2ALSA-2026:61377
AlmaLinux:10nodejs24-npm1:11.17.0-1.24.19.0.1.el10_2ALSA-2026:61377
AlmaLinux:8npm1:11.17.0-1.24.19.0.1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9npm1:11.17.0-1.24.19.0.1.module_el9.8.0+301+084fac05ALSA-2026:61386
AlmaLinux:8v8-13.6-devel3:13.6.233.17-1.24.19.0.1.module_el8.10.0+4268+8e07aa5aALSA-2026:62583
AlmaLinux:9v8-13.6-devel3:13.6.233.17-1.24.19.0.1.module_el9.8.0+301+084fac05ALSA-2026:61386
Alpine:v3.23nodejs24.18.1-r0ALPINE-CVE-2026-58041
Alpine:v3.24nodejs24.18.1-r0ALPINE-CVE-2026-58041
Alpine:v3.24nodejs-current26.5.1-r0ALPINE-CVE-2026-58041
Debian:14nodejs24.19.0+dfsg+~cs24.13.3-1DEBIAN-CVE-2026-58041
Ubuntu:24.04:LTSnodejsno fix listedUBUNTU-CVE-2026-58041
Ubuntu:26.04:LTSnodejsno fix listedUBUNTU-CVE-2026-58041
Ubuntu:26.10nodejsno fix listedUBUNTU-CVE-2026-58041

Affected products (as reported)

VendorProductVersions
nodejs node 22.23.1 – through 22.23.124.18.0 – through 24.18.026.5.0 – through 26.5.0

Weakness: CWE-367 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

References