Time-of-check time-of-use race condition in NodeJS node
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat.
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**.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 6 advisories
- RHSA-2026:62583 Released 2026-09-02 · Red Hat rating Importantnodejs:24 security update
- Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:24.19.0-1.module+el8.10.0+24711+b610b202.aarch64::nodejs:24, nodejs-1:24.19.0-1.module+el8.10.0+24711+b610b202.ppc64le::nodejs:24, nodejs-1:24.19.0-1.module+el8.10.0+24711+b610b202.s390x::nodejs:24 +25
- RHSA-2026:61386 Released 2026-08-31 · Red Hat rating Importantnodejs:24 security update
- Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:24.19.0-1.module+el9.8.0+24708+e71d2e1d.aarch64::nodejs:24, nodejs-1:24.19.0-1.module+el9.8.0+24708+e71d2e1d.ppc64le::nodejs:24, nodejs-1:24.19.0-1.module+el9.8.0+24708+e71d2e1d.s390x::nodejs:24 +25
- RHSA-2026:61377 Released 2026-08-31 · Red Hat rating Importantnodejs24 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) nodejs24-1:24.19.0-1.el10_2, nodejs24-devel-1:24.19.0-1.el10_2, nodejs24-docs-1:24.19.0-1.el10_2 +3
Show 3 more Red Hat advisories
- RHSA-2026:52990 Released 2026-08-10 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images nodejs26-1:26.7.0-1.5.1.hum1@aarch64, nodejs26-1:26.7.0-1.5.1.hum1@src, nodejs26-1:26.7.0-1.5.1.hum1@x86_64 +16
- RHSA-2026:48537 Released 2026-07-30 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs24-1:24.18.1-0.1.hum1@aarch64, nodejs24-1:24.18.1-0.1.hum1@src, nodejs24-1:24.18.1-0.1.hum1@x86_64 +14
- RHSA-2026:48305 Released 2026-07-29 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images nodejs22-1:22.23.2-2.3.hum1@aarch64, nodejs22-1:22.23.2-2.3.hum1@src, nodejs22-1:22.23.2-2.3.hum1@x86_64 +14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:61377 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:62583 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:61386 |
| Red Hat Hardened Images | Fixed | RHSA-2026:48305, RHSA-2026:48537, RHSA-2026:52990 |
Not affected: 4 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58041
- 2026-10-03 Alias added: GHSA-qgrj-5wc5-7xvc
- 2026-10-16 Fix available: RHSA-2026:62583 · Red Hat
- 2026-10-16 Fix available: RHSA-2026:61386 · Red Hat
- 2026-10-16 Fix available: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux AppStream (v. 9) · Red Hat
- 2026-10-19 Fix available: RHSA-2026:61377 · Red Hat
- 2026-10-20 Fix available: Red Hat Enterprise Linux AppStream (v. 10) · Red Hat
References
More NodeJS vulnerabilities
- TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2024-18584 Race condition in NodeJS Node CVSS 3.0HIGH 8.2
- TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
- TI-2024-03325 Command injection vulnerability in programing languages on Microsoft Windows operating system. CVSS 3.1CRITICAL 9.8
- TI-2022-03472 X.509 Email Address Variable Length Buffer Overflow CVSS 3.1HIGH 7.5
Sources
- CVE-2026-58041 · CVE Program
- CVE-2026-58041 · NVD
- FIRST EPSS
- GHSA-qgrj-5wc5-7xvc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-58041 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences