CVE-2026-118662

Source
https://cve.org/CVERecord?id=CVE-2026-118662
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118662.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118662
Aliases
Downstream
Published
2026-10-28T20:33:36Z
Modified
2026-11-04T02:30:35Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
Summary
Vite: `server.fs.deny` bypassed with queries
Details

Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-180",
        "CWE-284"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118662.json"
}
References

Affected packages

Git / github.com/vitejs/vite

Affected ranges

Type
GIT
Repo
https://github.com/vitejs/vite
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "6.4.4"
                },
                {
                    "fixed":  "6.4.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "91e40d7bf9777057bbd31c3eb036a54c9465697e"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v6.4.5",
            "range":  [
                {
                    "fixed":  "83ab40b53969349d5c4ed259313fff367bb86827"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v6.*
v6.4.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118662.json"