{
  "id": "CVE-2025-48935",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-48935",
  "published_at": "2025-06-04T19:31:26.84Z",
  "title": "Deno has --allow-read / --allow-write permission bypass in `node:sqlite`",
  "vendor": "denoland",
  "product": "deno",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.5,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "denoland",
        "product": "deno",
        "ranges": [
          "\u003e= 2.2.0, \u003c 2.2.5"
        ],
        "fixed_in": [
          "2.2.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade deno to 2.2.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/denoland/deno/security/advisories/GHSA-8vxj-4cph-c596"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/denoland/deno/commit/31a97803995bd94629528ba841b2418d3ca01860"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
