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

- Severity: Medium 5.3 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-08-04T00:49:58.112Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: BIT-NODE-2026-58041, BIT-NODE-MIN-2026-58041
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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**.

(As written by CVE List.)

## Affected

- nodejs node: from 22.23.1 up to 22.23.1; from 24.18.0 up to 24.18.0; from 26.5.0 up to 26.5.0
- node (Bitnami): before 22.23.2; from 23.0.0 before 24.18.1; from 25.0.0 before 26.5.1
- node-min (Bitnami): before 22.23.2; from 23.0.0 before 24.18.1; from 25.0.0 before 26.5.1

## Every score

- hackerone: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://nodejs.org/en/blog/vulnerability/july-2026-security-releases> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58041> (web)

## Sources

- CVE List: [CVE-2026-58041](https://www.cve.org/CVERecord?id=CVE-2026-58041), CVE Terms of Use, modified 2026-08-04
- NVD: [CVE-2026-58041](https://nvd.nist.gov/vuln/detail/CVE-2026-58041), Public domain, modified 2026-10-23
- Bitnami Vulnerability Database: [BIT-NODE-2026-58041](https://osv.dev/vulnerability/BIT-NODE-2026-58041), Apache-2.0, modified 2026-08-17
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2026-58041](https://osv.dev/vulnerability/BIT-NODE-MIN-2026-58041), Apache-2.0, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-58041 · Whole record: https://cve.day/CVE-2026-58041.json · Rebuilt by cve.day 2026-11-25T22:59:30.925Z
