CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-39363

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.2 · high

Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket

Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.

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

Severity and exploitation evidence

EPSS: 3.396% · 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-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.2 · published by GitHub_M
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:01:53.193Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:01:53.193ZCVE Program
epssverified2026-11-19T18:27:20.902ZFIRST EPSS
patchesverified2026-11-19T12:51:58.234ZOSV
affectedverified2026-11-19T12:01:53.193ZCVE Program
lifecycleverified2026-11-19T12:01:53.193ZCVE Program

Affected versions and configuration

vitejs vite; default status: unknown: >= 8.0.0, < 8.0.5 [affected; scheme: unspecified]; >= 7.0.0, < 7.3.2 [affected; scheme: unspecified]; >= 6.0.0, < 6.4.2 [affected; scheme: unspecified] vitejs vite-plus; default status: unknown: < 0.1.16 [affected; scheme: unspecified]

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

OSV · osv · full conditions
{
  "id": "GHSA-p9ff-h696-f583",
  "aliases": [
    "CVE-2026-39363"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "8.0.0"
            },
            {
              "fixed": "8.0.5"
            }
          ]
        }
      ],
      "package": {
        "name": "vite",
        "purl": "pkg:npm/vite",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-p9ff-h696-f583/GHSA-p9ff-h696-f583.json",
        "last_known_affected_version_range": "<= 8.0.4"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "7.0.0"
            },
            {
              "fixed": "7.3.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/2026/04/GHSA-p9ff-h696-f583/GHSA-p9ff-h696-f583.json",
        "last_known_affected_version_range": "<= 7.3.1"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.4.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/2026/04/GHSA-p9ff-h696-f583/GHSA-p9ff-h696-f583.json",
        "last_known_affected_version_range": "<= 6.4.1"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39363",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/vitejs/vite/pull/22159",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite/commit/f02d9fde0b195afe3ea2944414186962fbbe41e0",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/vitejs/vite/releases/tag/v6.4.2",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite/releases/tag/v7.3.2",
      "type": "WEB"
    },
    {
      "url": "https://github.com/vitejs/vite/releases/tag/v8.0.5",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-200",
      "CWE-306"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-04-07T20:16:30Z",
    "github_reviewed_at": "2026-04-06T18:03:24Z"
  }
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "vitejs",
      "product": "vite",
      "versions": [
        {
          "status": "affected",
          "version": ">= 8.0.0, < 8.0.5"
        },
        {
          "status": "affected",
          "version": ">= 7.0.0, < 7.3.2"
        },
        {
          "status": "affected",
          "version": ">= 6.0.0, < 6.4.2"
        }
      ]
    },
    {
      "vendor": "vitejs",
      "product": "vite-plus",
      "versions": [
        {
          "status": "affected",
          "version": "< 0.1.16"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-39363",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-04-08T17:52:54.234521Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-04-08T17:52:58.420Z"
      }
    },
    {
      "title": "Vite: Vite: Information disclosure via WebSocket connection bypasses access control",
      "metrics": [
        {
          "other": {
            "type": "Red Hat severity rating",
            "content": {
              "value": "Important",
              "namespace": "https://access.redhat.com/security/updates/classification/"
            }
          }
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.5,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2.5::el8"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
          "versions": [
            {
              "status": "unaffected",
              "version": "0:2.5.20260422-3.el8ap",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "automation-gateway",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2.5::el9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
          "versions": [
            {
              "status": "unaffected",
              "version": "0:2.5.20260422-3.el9ap",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "automation-gateway",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2.6::el9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
          "versions": [
            {
              "status": "unaffected",
              "version": "0:2.6.9-1.el9ap",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "automation-platform-ui",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2.6::el9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.6",
          "versions": [
            {
              "status": "unaffected",
              "version": "1779783248",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "ansible-automation-platform-tech-preview/mcp-server-rhel9",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2.7::el9"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.7",
          "versions": [
            {
              "status": "unaffected",
              "version": "1787218409",
              "lessThan": "*",
              "versionType": "rpm"
            }
          ],
          "packageName": "ansible-automation-platform-27/gateway-rhel9",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:advanced_cluster_security:4"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Advanced Cluster Security 4",
          "packageName": "rhacs-eng/release-main",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "unaffected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2",
          "packageName": "automation-controller",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:ansible_automation_platform:2"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2",
          "packageName": "automation-eda-controller",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "unaffected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:build_keycloak:"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Build of Keycloak",
          "packageName": "vite",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:podman_desktop:1"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Build of Podman Desktop",
          "packageName": "podman-desktop-macos-1-0",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:podman_desktop:1"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Build of Podman Desktop",
          "packageName": "podman-desktop-windows-1-0",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:podman_desktop:0"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Build of Podman Desktop - Tech Preview",
          "packageName": "redhat-user-workloads/bootc-ext",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:podman_desktop:0"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Build of Podman Desktop - Tech Preview",
          "packageName": "redhat-user-workloads/openshift-local-ext",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:podman_desktop:0"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat Build of Podman Desktop - Tech Preview",
          "packageName": "redhat-user-workloads/rhel-ext",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:jboss_enterprise_application_platform:8"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat JBoss Enterprise Application Platform 8",
          "packageName": "vite",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "unaffected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:jbosseapxp"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
          "packageName": "vite",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "unaffected"
        },
        {
          "cpes": [
            "cpe:/a:redhat:openshift:4"
          ],
          "vendor": "Red Hat",
          "product": "Red Hat OpenShift Container Platform 4",
          "packageName": "redhat-user-workloads/art-images",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected"
        }
      ],
      "timeline": [
        {
          "lang": "en",
          "time": "2026-04-07T20:02:11.316Z",
          "value": "Reported to Red Hat."
        },
        {
          "lang": "en",
          "time": "2026-04-07T19:10:44.916Z",
          "value": "Made public."
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "RHSA-2026:24761: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:24762: Red Hat Ansible Automation Platform 2.6 for RHEL 9"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:24866: Red Hat Ansible Automation Platform 2.6"
        },
        {
          "lang": "en",
          "value": "RHSA-2026:59153: Red Hat Ansible Automation Platform 2.7"
        }
      ],
      "x_adpType": "supplier",
      "datePublic": "2026-04-07T19:10:44.916Z",
      "references": [
        {
          "url": "https://access.redhat.com/security/cve/CVE-2026-39363",
          "tags": [
            "vdb-entry",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2456179",
          "name": "RHBZ#2456179",
          "tags": [
            "issue-tracking",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.json",
          "tags": [
            "x_sadp-csaf-vex"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:24761",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:24762",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:24866",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        },
        {
          "url": "https://access.redhat.com/errata/RHSA-2026:59153",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ]
        }
      ],
      "workarounds": [
        {
          "lang": "en",
          "value": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."
        }
      ],
      "x_generator": {
        "engine": "sadp-cli 1.0.0"
      },
      "descriptions": [
        {
          "lang": "en",
          "value": "A flaw was found in Vite, a frontend tooling framework. A remote attacker can exploit this vulnerability by connecting to the Vite development server's WebSocket without an Origin header. This allows the attacker to invoke the fetchModule function, enabling them to retrieve the contents of arbitrary files on the server. This information disclosure can lead to unauthorized access to sensitive data."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-1220",
              "description": "Insufficient Granularity of Access Control"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
        "shortName": "redhat-SADP",
        "dateUpdated": "2026-08-25T12:05:41.283Z"
      }
    }
  ]
}
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 channel8.0.5Official record
ecosystem-boundarynpm / packageviteNot a distribution channel7.3.2Official record
ecosystem-boundarynpm / packageviteNot a distribution channel6.4.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history