{
  "id": "CVE-2026-47429",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47429",
  "published_at": "2026-07-14T19:28:08.688Z",
  "title": "Vitest: Arbitrary file can be read and executed when Vitest UI server is listening",
  "vendor": "vitest-dev",
  "product": "vitest",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "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": "Vitest is a testing framework powered by Vite. Prior to 3.2.5 and 4.1.0, the Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing \\\\?\\\\..\\\\ path traversal to read files outside the project; exposed API write and rerun features such as saveTestFile and rerun could also allow arbitrary script execution. This issue is fixed in versions 3.2.5 and 4.1.0.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8,
    "nvd": 5.9
  },
  "repos": [
    {
      "repo": "az9713/cve-lite-on-pi",
      "url": "https://github.com/az9713/cve-lite-on-pi",
      "created_at": "2026-06-09T06:04:36Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "error",
      "owner_created_at": "2011-01-14T21:36:32Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "vitest-dev",
        "product": "vitest",
        "ranges": [
          "\u003c 3.2.5",
          "\u003e= 4.0.0, \u003c 4.1.0"
        ],
        "fixed_in": [
          "3.2.5",
          "4.1.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade vitest to 3.2.5 or 4.1.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitest-dev/vitest/pull/10445"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitest-dev/vitest/pull/9350"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/vitest-dev/vitest/releases/tag/v3.2.5"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/vitest-dev/vitest/releases/tag/v4.1.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
