CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2024-23331

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem

Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.785% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by GitHub_M
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:57:05.976Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssverified2026-11-19T12:57:05.976ZCVE Program
epssverified2026-11-19T16:04:37.769ZFIRST EPSS
patchesverified2026-11-19T12:51:58.234ZOSV
affectedverified2026-11-19T12:57:05.976ZCVE Program
lifecycleverified2026-11-19T12:57:05.976ZCVE Program

Affected versions and configuration

vitejs vite; default status: unknown: >=2.7.0, < 2.9.17 [affected; scheme: unspecified]; >=3.0.0, <3.2.8 [affected; scheme: unspecified]; >=4.0.0, < 4.5.2 [affected; scheme: unspecified]; >=5.0.0, < 5.0.12 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "vitejs",
      "product": "vite",
      "versions": [
        {
          "status": "affected",
          "version": ">=2.7.0, < 2.9.17"
        },
        {
          "status": "affected",
          "version": ">=3.0.0, <3.2.8"
        },
        {
          "status": "affected",
          "version": ">=4.0.0, < 4.5.2"
        },
        {
          "status": "affected",
          "version": ">=5.0.0, < 5.0.12"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://github.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw",
          "name": "https://github.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5",
          "name": "https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://vitejs.dev/config/server-options.html#server-fs-deny",
          "name": "https://vitejs.dev/config/server-options.html#server-fs-deny",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-01T22:59:32.203Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-23331",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2024-01-22T14:54:35.729020Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-06-17T21:19:25.323Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-c24v-8rfc-w8vw",
  "aliases": [
    "CVE-2024-23331"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.7.0"
            },
            {
              "fixed": "2.9.17"
            }
          ]
        }
      ],
      "package": {
        "name": "vite",
        "purl": "pkg:npm/vite",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-c24v-8rfc-w8vw/GHSA-c24v-8rfc-w8vw.json",
        "last_known_affected_version_range": "<= 2.9.16"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "3.0.0"
            },
            {
              "fixed": "3.2.8"
            }
          ]
        }
      ],
      "package": {
        "name": "vite",
        "purl": "pkg:npm/vite",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-c24v-8rfc-w8vw/GHSA-c24v-8rfc-w8vw.json",
        "last_known_affected_version_range": "<= 3.2.7"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "4.5.2"
            }
          ]
        }
      ],
      "package": {
        "name": "vite",
        "purl": "pkg:npm/vite",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-c24v-8rfc-w8vw/GHSA-c24v-8rfc-w8vw.json",
        "last_known_affected_version_range": "<= 4.5.1"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "5.0.0"
            },
            {
              "fixed": "5.0.12"
            }
          ]
        }
      ],
      "package": {
        "name": "vite",
        "purl": "pkg:npm/vite",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-c24v-8rfc-w8vw/GHSA-c24v-8rfc-w8vw.json",
        "last_known_affected_version_range": "<= 5.0.11"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-34092",
      "type": "ADVISORY"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-23331",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/vitejs/vite/commit/0cd769c279724cf27934b1270fbdd45d68217691",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite/commit/91641c4da0a011d4c5352e88fc68389d4e1289a5",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite/commit/a26c87d20f9af306b5ce3ff1648be7fa5146c278",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite/commit/eeec23bbc9d476c54a3a6d36e78455867185a7cb",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite",
      "type": "PACKAGE"
    },
    {
      "url": "https://vitejs.dev/config/server-options.html#server-fs-deny",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-178",
      "CWE-200",
      "CWE-284"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2024-01-19T20:15:14Z",
    "github_reviewed_at": "2024-01-19T21:58:47Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packageviteNot a distribution channel2.9.17Official record
ecosystem-boundarynpm / packageviteNot a distribution channel3.2.8Official record
ecosystem-boundarynpm / packageviteNot a distribution channel4.5.2Official record
ecosystem-boundarynpm / packageviteNot a distribution channel5.0.12Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history