{"id":"CVE-2025-48935","state":"PUBLISHED","title":"Deno has --allow-read / --allow-write permission bypass in `node:sqlite`","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 2.2.0 and prior to versions 2.2.5, it is possible to bypass Deno's permission read/write db permission check by using `ATTACH DATABASE` statement. Version 2.2.5 contains a patch for the issue.","publishedAt":"2025-06-04T19:31:26.840Z","updatedAt":"2025-06-04T20:41:22.848Z","severity":{"score":5.5,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","source":"GitHub_M"},"assigner":"GitHub_M","products":["denoland deno"],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 2.2.0, < 2.2.5","status":"affected"}]}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596","https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/48xxx/CVE-2025-48935.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-48935","state":"PUBLISHED","datePublished":"2025-06-04T19:31:26.840Z","dateUpdated":"2025-06-04T20:41:22.848Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-28T18:49:07.577Z"},"containers":{"cna":{"title":"Deno has --allow-read / --allow-write permission bypass in `node:sqlite`","descriptions":[{"lang":"en","value":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 2.2.0 and prior to versions 2.2.5, it is possible to bypass Deno's permission read/write db permission check by using `ATTACH DATABASE` statement. Version 2.2.5 contains a patch for the issue."}],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 2.2.0, < 2.2.5","status":"affected"}]}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596","name":"https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860","name":"https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-06-04T19:31:26.840Z"},"source":{"advisory":"GHSA-8vxj-4cph-c596","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-04T20:41:16.047507Z","id":"CVE-2025-48935","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-04T20:41:22.848Z"}}]}}}