> CVE-2025-46565 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-05-01 18:15
MODIFIED
2025-10-02 15:40
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
1.24%
Top 30.6%
🎯 NUCLEI TEMPLATE
DATA SOURCES:
NVD 🔗 2025-10-18 RED HAT 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08 NUCLEI 🔗 2026-11-08

> DESCRIPTION

Vite is a frontend tooling framework for javascript. Prior to versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14, the contents of files in the project root that are denied by a file matching pattern can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. Only files that are under project root and are denied by a file matching pattern can be bypassed. `server.fs.deny` can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass for files under `root` by using a combination of slash and dot (/.). This issue has been patched in versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14.

> AFFECTED_PRODUCTS

Vitejs - Vite
< 4.5.14
Vitejs - Vite
>= 5.0.0 < 5.4.19
Vitejs - Vite
>= 6.0.0 < 6.1.6
Vitejs - Vite
>= 6.2.0 < 6.2.7
Vitejs - Vite
>= 6.3.0 < 6.3.4

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Moderate

> GITHUB SECURITY ADVISORY

GHSA-859w-5945-r5v3 MODERATE

Vite's server.fs.deny bypassed with /. for files under project root

AFFECTED PACKAGES:
NPM / vite
<= 4.5.13
Fixed in: 4.5.14
NPM / vite
>= 5.0.0, <= 5.4.18
Fixed in: 5.4.19
NPM / vite
>= 6.0.0, <= 6.1.5
Fixed in: 6.1.6
NPM / vite
>= 6.2.0, <= 6.2.6
Fixed in: 6.2.7
NPM / vite
>= 6.3.0, <= 6.3.3
Fixed in: 6.3.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Vite's server.fs.deny bypassed with /. for files under project root

AFFECTED PACKAGES:
Unknown / Unknown
755 versions affected
ALIASES:
GHSA-859w-5945-r5v3

> NUCLEI TEMPLATES

Des templates Nuclei sont disponibles pour scanner cette vulnérabilité.

🎯
CVE-2025-46565.yaml
http/cves/2025/CVE-2025-46565.yaml
Usage: nuclei -t http/cves/2025/CVE-2025-46565.yaml -u target.com

> HISTORIQUE DES MODIFICATIONS

Première apparition
01/05/2025 18:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:03
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 18/10/2025 12:15
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Moderate", "severity_scale": null }
📊 ENRICHISSEMENT 18/10/2025 12:15
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 3 Dernière mise à jour: 1 year ago
« BACK_TO_HOME