CVE-2026-58041
Full vulnerability record from the local CVENow database.
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**.
Severity
MEDIUM
CVSS score
5.3
(v3.0)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-08-04 01:16:19.987000
Last modified
2026-10-23 23:10:00.157000
View original CVE JSON
{
"id": "CVE-2026-58041",
"sourceIdentifier": "[email protected]",
"published": "2026-08-04T01:16:19.987",
"lastModified": "2026-10-23T23:10:00.157",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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**."
},
{
"lang": "es",
"value": "Un fallo en Node.js node:sqlite permite que un StatementSyncIterator obsoleto creado a través de DatabaseSync#createTagStore() continúe ejecutando una sentencia preparada en caché después de haber sido reiniciado y reasociado con nuevos parámetros. SQLTagStore reinicia las sentencias en caché usando sqlite3_reset() directamente, omitiendo el mecanismo de invalidación del iterador introducido para StatementSync en versiones recientes.\n\nEsta vulnerabilidad afecta a Node.js 22.x, 24.x, y 26.x."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "nodejs",
"product": "node",
"defaultStatus": "unaffected",
"versions": [
{
"version": "22.23.1",
"lessThanOrEqual": "22.23.1",
"versionType": "semver",
"status": "affected"
},
{
"version": "24.18.0",
"lessThanOrEqual": "24.18.0",
"versionType": "semver",
"status": "affected"
},
{
"version": "26.5.0",
"lessThanOrEqual": "26.5.0",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV30": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.0",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.6,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-08-04T14:19:42.415078Z",
"id": "CVE-2026-58041",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-367"
}
]
}
],
"references": [
{
"url": "https://nodejs.org/en/blog/vulnerability/july-2026-security-releases",
"source": "[email protected]"
}
]
}