Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2026-58041 EUVD-2026-52561GHSA-qgrj-5wc5-7xvc

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

Published Aug 4, 2026 · Updated Aug 4, 2026 · Assigned by hackerone

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 products

VendorProductAffectedFixed
nodejs node 22.23.1 – ≤ 22.23.1, 24.18.0 – ≤ 24.18.0, 26.5.0 – ≤ 26.5.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 24.19.0+dfsg+~cs24.13.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nodejs No fix yet —
Ubuntu 26.04 LTS nodejs No fix yet —
Ubuntu 24.04 LTS nodejs No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS nodejs No fix yet —
Ubuntu Pro 18.04 LTS nodejs No fix yet —
Ubuntu Pro 16.04 LTS nodejs No fix yet —
Ubuntu Pro 14.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 nodejs24 +4 1:24.19.0-1.el10_2 RHSA-2026:61377
RHEL 10 nodejs24-npm 1:11.17.0-1.24.19.0.1.el10_2 RHSA-2026:61377
RHEL 10 nodejs26 +4 1:26.12.1-3.el10_3 RHSA-2026:98619
RHEL 10 nodejs26-npm 1:11.20.0-1.26.12.1.3.el10_3 RHSA-2026:98619
RHEL 9 nodejs +4 1:24.19.0-1.module+el9.8.0+24708+e71d2e1d RHSA-2026:97855, RHSA-2026:61386
RHEL 9 nodejs-nodemon 3.1.14-1.module+el9.9.0+24923+ac50c00f RHSA-2026:97855, RHSA-2026:61386
RHEL 9 nodejs-packaging +1 2021.06-6.module+el9.8.0+24708+e71d2e1d RHSA-2026:97855, RHSA-2026:61386
RHEL 9 npm 1:11.17.0-1.24.19.0.1.module+el9.8.0+24708+e71d2e1d RHSA-2026:97855, RHSA-2026:61386
RHEL 9 v8-13.6-devel 3:13.6.233.17-1.24.19.0.1.module+el9.8.0+24708+e71d2e1d RHSA-2026:61386
RHEL 9 v8-14.6-devel 3:14.6.202.34-1.26.8.2.1.module+el9.9.0+24929+16cef9a5 RHSA-2026:97855
RHEL 8 nodejs +4 1:24.19.0-1.module+el8.10.0+24711+b610b202 RHSA-2026:62583
RHEL 8 nodejs-nodemon 3.1.14-2.module+el8.10.0+24711+b610b202 RHSA-2026:62583
RHEL 8 nodejs-packaging +1 2021.06-6.module+el8.10.0+24711+b610b202 RHSA-2026:62583
RHEL 8 npm 1:11.17.0-1.24.19.0.1.module+el8.10.0+24711+b610b202 RHSA-2026:62583
RHEL 8 v8-13.6-devel 3:13.6.233.17-1.24.19.0.1.module+el8.10.0+24711+b610b202 RHSA-2026:62583
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs22 +6 1:22.23.2-2.3.hum1 RHSA-2026:48305
Red Hat Hardened Images 1 nodejs22-npm 1:10.9.8-1.22.23.2.2.3.hum1 RHSA-2026:48305
Red Hat Hardened Images 1 nodejs24 +6 1:24.18.1-0.1.hum1 RHSA-2026:48537
Red Hat Hardened Images 1 nodejs24-npm 1:11.16.0-1.24.18.1.0.1.hum1 RHSA-2026:48537
Red Hat Hardened Images 1 nodejs26 +6 1:26.7.0-1.5.1.hum1 RHSA-2026:52990
Red Hat Hardened Images 1 nodejs26-npm 1:11.19.0-1.26.7.0.1.5.1.hum1 RHSA-2026:52990
Red Hat Hardened Images 1 v8-14.6-devel 3:14.6.202.34-1.26.7.0.1.5.1.hum1 RHSA-2026:52990

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 nodejs24 +4 1:24.19.0-1.el10_2 ALSA-2026:61377
AlmaLinux 10 nodejs24-npm 1:11.17.0-1.24.19.0.1.el10_2 ALSA-2026:61377
AlmaLinux 9 nodejs +4 1:24.19.0-1.module_el9.8.0+301+084fac05 ALSA-2026:61386
AlmaLinux 9 nodejs-nodemon 3.1.14-3.module_el9.8.0+292+f4eaf8b2 ALSA-2026:61386
AlmaLinux 9 nodejs-packaging +1 2021.06-6.module_el9.7.0+209+ecf6523e ALSA-2026:61386
AlmaLinux 9 npm 1:11.17.0-1.24.19.0.1.module_el9.8.0+301+084fac05 ALSA-2026:61386
AlmaLinux 9 v8-13.6-devel 3:13.6.233.17-1.24.19.0.1.module_el9.8.0+301+084fac05 ALSA-2026:61386
AlmaLinux 8 nodejs +4 1:24.19.0-1.module_el8.10.0+4268+8e07aa5a ALSA-2026:62583
AlmaLinux 8 nodejs-nodemon 3.1.14-2.module_el8.10.0+4250+09238ed4 ALSA-2026:62583
AlmaLinux 8 nodejs-packaging +1 2021.06-6.module_el8.10.0+4086+70facd4a ALSA-2026:62583
AlmaLinux 8 npm 1:11.17.0-1.24.19.0.1.module_el8.10.0+4268+8e07aa5a ALSA-2026:62583
AlmaLinux 8 v8-13.6-devel 3:13.6.233.17-1.24.19.0.1.module_el8.10.0+4268+8e07aa5a ALSA-2026:62583

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs-nodemon 3.1.14-1.module+el9.8.0+40263+faa47049 RLSA-2026:97855
Rocky Linux 9 nodejs-packaging 2021.06-6.module+el9.7.0+40052+e32ea525 RLSA-2026:97855
ReleasePackageFixed inAdvisory
SLES 15 SP7 nodejs24 24.18.1-150700.15.16.1 SUSE-SU-2026:3520-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 nodejs24 24.18.1-160000.1.1 SUSE-SU-2026:23155-1, SUSE-SU-2026:23131-1
SLES 16.0 nodejs24 24.18.1-160000.1.1 SUSE-SU-2026:23155-1, SUSE-SU-2026:23131-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs24 24.18.1-1.1 openSUSE-SU-2026:11439-1
openSUSE Tumbleweed nodejs26 26.5.1-1.1 openSUSE-SU-2026:11440-1
openSUSE Leap 16.0 nodejs24 24.18.1-160000.1.1 openSUSE-SU-2026:21546-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 24.18.1-r0 —
Alpine v3.24 nodejs-current 26.5.1-r0 —
Alpine v3.23 nodejs 24.18.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs24 +4 1:24.18.1-1.amzn2023.0.2 ALAS2023-2026-2059
Amazon Linux 2023 nodejs24-npm 1:11.16.0-1.24.18.1.1.amzn2023.0.2 ALAS2023-2026-2059
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.18.1.1.amzn2023.0.2 ALAS2023-2026-2059

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-20 +1 No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 20

References