Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-58041

Опубликовано: 04 авг. 2026
Источник: redhat
CVSS3: 5.3
EPSS Низкий

Описание

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.

A flaw was found in Node.js's node:sqlite module. This vulnerability allows a previously used database statement, which should have been reset, to be re-executed with new parameters. This could lead to unintended data modifications or integrity issues within the application.

Отчет

This flaw strictly impacts data Integrity with zero effect on Confidentiality or Availability (C:N, I:H, A:N). Practical exploitation occurs when an application utilizes the experimental node:sqlite SQL tag store feature while managing statement iterators. Under these high-complexity conditions (AC:H) requiring specific user-driven interaction sequences (UI:R), a stale iterator can execute a reset statement with new parameters, leading to unintended database writes. Applications that do not use node:sqlite tag stores or statement iterators are completely unaffected. Red Hat and upstream CVSS scores align at 5.3 (Moderate) due to these strict operational constraints.

Меры по смягчению последствий

Applications using Node.js that leverage the experimental node:sqlite SQL tag store feature should avoid using DatabaseSync#createTagStore() and StatementSyncIterator to prevent unintended data modification. If this feature is not essential, refactoring the application to remove its usage will mitigate the vulnerability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 8nodejs:22/nodejsNot affected
Red Hat Enterprise Linux 9nodejs:22/nodejsNot affected
Red Hat Enterprise Linux 10nodejs24FixedRHSA-2026:6137731.08.2026
Red Hat Enterprise Linux 10nodejs26FixedRHSA-2026:9861911.11.2026
Red Hat Enterprise Linux 8nodejsFixedRHSA-2026:6258302.09.2026
Red Hat Enterprise Linux 9nodejsFixedRHSA-2026:6138631.08.2026
Red Hat Enterprise Linux 9nodejsFixedRHSA-2026:9785510.11.2026
Red Hat Hardened Imagesnodejs22-main-10.9.8-1.22.23.2.2.3.hum1FixedRHSA-2026:4830529.07.2026
Red Hat Hardened Imagesnodejs22-main-22.23.2-2.3.hum1FixedRHSA-2026:4830529.07.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-367
https://bugzilla.redhat.com/show_bug.cgi?id=2510858nodejs: Node.js node:sqlite: Unintended data modification due to stale statement iterator

EPSS

Процентиль: 21%
0.00284
Низкий

5.3 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.3
ubuntu
4 месяца назад

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**.

CVSS3: 5.3
nvd
4 месяца назад

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**.

CVSS3: 5.3
debian
4 месяца назад

A flaw in Node.js node:sqlite allows a stale StatementSyncIterator cre ...

CVSS3: 5.3
github
4 месяца назад

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**.

suse-cvrf
3 месяца назад

Security update for nodejs24

EPSS

Процентиль: 21%
0.00284
Низкий

5.3 Medium

CVSS3