{"answers":{"affected":"2 open source packages ship an affected version, including node and node-min.","exploited":"There is no known exploitation of CVE-2026-58041 in the wild and no public exploit code.","fix":"Upgrade node to a fixed version for your release line: 22.23.2, 24.18.1 or 26.5.1.","what":"CVE-2026-58041 is a medium-severity vulnerability in nodejs node, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-58041 and fix it if it is affected.\n\nWhat it is: CVE-2026-58041 is a medium-severity vulnerability in nodejs node, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-58041 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node (Bitnami): affected all versions; fixed in 22.23.2, 24.18.1, 26.5.1\n- node-min (Bitnami): affected all versions; fixed in 22.23.2, 24.18.1, 26.5.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-58041/ (Markdown: https://insights.sbomify.com/CVE-2026-58041/index.md)","id":"CVE-2026-58041","markdown":"https://insights.sbomify.com/CVE-2026-58041/index.md","name":"CVE-2026-58041","record":{"aliases":["ALPINE-CVE-2026-58041","BELL-CVE-2026-58041","BIT-node-2026-58041","BIT-node-min-2026-58041","CLEANSTART-2026-HA97682","DEBIAN-CVE-2026-58041","ECHO-d3a5-74f9-2a46","GHSA-qgrj-5wc5-7xvc","MINI-76ph-qpv7-4x9p","MINI-9p75-9jv7-64j6","MINI-9prm-2frv-g42h","MINI-c9mc-v72f-jmv9","MINI-f2qj-jxfq-vrjc","MINI-mhjp-q2p7-hf2m","MINI-qmc4-jq7j-hfq9","MINI-v4h9-96pw-798m","UBUNTU-CVE-2026-58041"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js SQLite module","requires_auth":"none","summary":"A race condition in Node.js SQLite allows stale iterators to execute cached statements with new parameters, potentially leading to unauthorized data access or modification.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"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\r\n\r\nThis vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2026-10-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-23T23:44:56Z","kind":"github_poc","ref":"https://github.com/CompleteTech-Security/node-cve-2026-58041-check","stars":0,"title":"Offline Node.js evidence checker for CVE-2026-58041: SQLite cached iterator write replay. Single-file Python; JSON/CSV/HTML reports; no exploit payloads."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Race condition in node","id":"CVE-2026-58041","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Denial of service in node","id":"CVE-2026-58042"},"packages":[{"ecosystem":"Bitnami","fixed":["22.23.2","24.18.1","26.5.1"],"introduced":["0","23.0.0","25.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2026-58041"},{"ecosystem":"Bitnami","fixed":["22.23.2","24.18.1","26.5.1"],"introduced":["0","23.0.0","25.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2026-58041"}],"prev":{"headline":"Security feature bypass in node","id":"CVE-2026-58040"},"products":["node"],"published":"2026-08-04","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-04","vendors":["nodejs"]},"summary":"A race condition in Node.js SQLite allows stale iterators to execute cached statements with new parameters, potentially leading to unauthorized data access or modification.","url":"https://insights.sbomify.com/CVE-2026-58041/"}