REDHAT-BUG-2456181: High severity Vite Vite vulnerability

Published Apr 7, 2026
·
Updated

Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, .crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.

Affected Software

2 affected components
Vite Vite>=7.1.0<7.3.2
Vite Vite>=8.0.5<=8.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vite-dev-server to a version that resolves this vulnerability.

    Fixed in 7.3.2
  2. Upgrade

    Upgrade vite-dev-server to a version that resolves this vulnerability.

    Fixed in 8.0.5

Event History

Apr 7, 2026
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2456181?

The severity of REDHAT-BUG-2456181 is classified as high (7).

2

How do I fix REDHAT-BUG-2456181?

To fix REDHAT-BUG-2456181, upgrade Vite to version 7.3.2 or 8.0.6 or later.

3

What versions of Vite are affected by REDHAT-BUG-2456181?

Versions of Vite from 7.1.0 to before 7.3.2 and 8.0.5 are affected by REDHAT-BUG-2456181.

4

What types of files can be exposed due to REDHAT-BUG-2456181?

Files that should be blocked, such as .env and *.crt, can be exposed due to REDHAT-BUG-2456181.

5

How does REDHAT-BUG-2456181 impact web applications?

REDHAT-BUG-2456181 can lead to unauthorized access of sensitive configuration files in web applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203