{"id":"CVE-2026-58041","published":"2026-08-04T00:49:58Z","modified":"2026-08-04T15:04:06Z","title":"A flaw in Node.js node:sqlite allows a stale StatementSyncIterator created through DatabaseSync#createTagStore() to…","vendor":"nodejs","product":"node","tier":"tail","description":{"text":"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\r\n\r\nThis vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00284,"percentile":0.21429,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/july-2026-security-releases","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":4.29},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-23","earliestUrl":"https://github.com/CompleteTech-Security/node-cve-2026-58041-check","repos":[{"name":"CompleteTech-Security/node-cve-2026-58041-check","url":"https://github.com/CompleteTech-Security/node-cve-2026-58041-check","stars":0,"created":"2026-10-23"}]},"first":{"date":"2026-10-23","source":"PoC-in-GitHub","url":"https://github.com/CompleteTech-Security/node-cve-2026-58041-check"},"provenance":"source"},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"node","versions":[">= 22.23.1, <= 22.23.1",">= 24.18.0, <= 24.18.0",">= 26.5.0, <= 26.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-04T14:19:42.415078Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52561","exploited":false,"provenance":"source"}}