{"id":"CVE-2025-48888","state":"PUBLISHED","title":"Deno run with --allow-read and --deny-read flags results in allowed","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.41.3 and prior to versions 2.1.13, 2.2.13, and 2.3.2, `deno run --allow-read --deny-read main.ts` results in allowed, even though 'deny' should be stronger. The result is the same with all global unary permissions given as `--allow-* --deny-*`. This only affects a nonsensical combination of flags, so there shouldn't be a real impact on the userbase. Users may upgrade to version 2.1.13, 2.2.13, or 2.3.2 to receive a patch.","publishedAt":"2025-06-04T19:15:55.041Z","updatedAt":"2025-06-04T19:32:53.261Z","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":">= 1.41.3, < 2.1.13","status":"affected"},{"version":">= 2.2.0, < 2.2.13","status":"affected"},{"version":">= 2.3.0, < 2.3.2","status":"affected"}]}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-xqxc-x6p3-w683","https://github.com/denoland/deno/pull/22894","https://github.com/denoland/deno/pull/29213","https://github.com/denoland/deno/commit/2f0fae9d9071dcaf0a689bc7097584b1b9ebc8db","https://github.com/denoland/deno/commit/9d665572d3cd39f997e29e6daac7c1102fc5c04f","https://github.com/denoland/deno/commit/ef315b56c26c9ef5f25284a5100d2ed525a148cf"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/48xxx/CVE-2025-48888.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-48888","state":"PUBLISHED","datePublished":"2025-06-04T19:15:55.041Z","dateUpdated":"2025-06-04T19:32:53.261Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-27T20:14:34.297Z"},"containers":{"cna":{"title":"Deno run with --allow-read and --deny-read flags results in allowed","descriptions":[{"lang":"en","value":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.41.3 and prior to versions 2.1.13, 2.2.13, and 2.3.2, `deno run --allow-read --deny-read main.ts` results in allowed, even though 'deny' should be stronger. The result is the same with all global unary permissions given as `--allow-* --deny-*`. This only affects a nonsensical combination of flags, so there shouldn't be a real impact on the userbase. Users may upgrade to version 2.1.13, 2.2.13, or 2.3.2 to receive a patch."}],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 1.41.3, < 2.1.13","status":"affected"},{"version":">= 2.2.0, < 2.2.13","status":"affected"},{"version":">= 2.3.0, < 2.3.2","status":"affected"}]}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-xqxc-x6p3-w683","name":"https://github.com/denoland/deno/security/advisories/GHSA-xqxc-x6p3-w683","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denoland/deno/pull/22894","name":"https://github.com/denoland/deno/pull/22894","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/pull/29213","name":"https://github.com/denoland/deno/pull/29213","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/2f0fae9d9071dcaf0a689bc7097584b1b9ebc8db","name":"https://github.com/denoland/deno/commit/2f0fae9d9071dcaf0a689bc7097584b1b9ebc8db","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/9d665572d3cd39f997e29e6daac7c1102fc5c04f","name":"https://github.com/denoland/deno/commit/9d665572d3cd39f997e29e6daac7c1102fc5c04f","tags":["x_refsource_MISC"]},{"url":"https://github.com/denoland/deno/commit/ef315b56c26c9ef5f25284a5100d2ed525a148cf","name":"https://github.com/denoland/deno/commit/ef315b56c26c9ef5f25284a5100d2ed525a148cf","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:15:55.041Z"},"source":{"advisory":"GHSA-xqxc-x6p3-w683","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-xqxc-x6p3-w683","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-04T19:32:34.846347Z","id":"CVE-2025-48888","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-04T19:32:53.261Z"}}]}}}