Skip to main content
Mallory
MediumVulnerability

CVE-2026-58041: Stale SQLite iterator write re-execution in Node.js

Published Aug 4, 2026 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days11 mentions · peak 2 in a dayToday
CVSS5.3Medium · v3
EPSS0.29%14th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-58041CWE-672

CVE-2026-58041 is an iterator-lifecycle flaw in the Node.js node:sqlite module affecting the 22.x, 24.x, and 26.x release lines. A stale StatementSyncIterator created through DatabaseSync#createTagStore() can continue executing a cached prepared statement after the statement has been reset and rebound with new parameters. SQLTagStore calls sqlite3_reset() directly, bypassing the StatementSync iterator-invalidation mechanism. Resuming the stale iterator can therefore execute the statement with replacement parameters, causing unintended SQL execution and database modification.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise database integrity by re-executing SQL writes with newly bound parameters outside the application's intended execution sequence. Depending on the statement and application behavior, unintended query execution may also expose data. The affected database operations remain constrained by the application's SQLite connection and statement capabilities.

Mitigation

If you can’t patch tonight, do this now.

No vendor-documented interim workaround is specified.

Remediation

Patch, then assume compromise.

Upgrade to Node.js 22.23.2, 24.18.1, or 26.5.1, or a later supported release containing the fix. For distribution-managed installations, install the corresponding vendor security update; Alpine Linux provides the fix in nodejs-current 26.5.1-r0 or later.

Public exploits

Exploits

No validated public exploits yet. Hidden: 3 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
FAQ

Frequently asked questions

Is CVE-2026-58041 exploited in the wild?
As of Nov 27, 2026, Mallory has no reports of CVE-2026-58041 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-58041?
As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-58041.
Is there a patch for CVE-2026-58041?
Upgrade to Node.js 22.23.2, 24.18.1, or 26.5.1, or a later supported release containing the fix. For distribution-managed installations, install the corresponding vendor security update; Alpine Linux provides the fix in nodejs-current 26.5.1-r0 or later.
How severe is CVE-2026-58041?
CVE-2026-58041 has a CVSS v3 score of 5.3 (Medium) and an EPSS score of 0.29% (14th percentile) as of Nov 27, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.