Back to CVE records
Medium 5.3Known exploited (CISA KEV)Published Mar 31, 2025

CVE-2025-31125Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

Updated under an hour ago ()

Does this affect you?

It affects vitejs vite. Add what you run to find out whether that includes you.

CISA lists it as known exploited since Jan 22, 2026; federal agencies had to remediate by Feb 12, 2026. Treat that date as your deadline.

Vite is a frontend tooling framework for javascript. Vite exposes content of non-allowed files using ?inline&import or ?raw?import. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. This vulnerability is fixed in 6.2.4, 6.1.3, 6.0.13, 5.4.16, and 4.5.11.

CVSS
5.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-200, CWE-284
Known exploited
Added to CISA KEV Jan 22, 2026; federal remediation due Feb 12, 2026Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
EPSS (exploitation in the next 30 days)
65.19% (percentile 99)
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Jan 23, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
vitejs vite
vitejs:vite (from the name)
from 6.2.0, < 6.2.4; from 6.1.0, < 6.1.3; from 6.0.0, < 6.0.13; from 5.0.0, < 5.4.16; before 4.5.11
CNA record
vitejs vite
vitejs:vite
before 4.5.11; from 5.0.0 before 5.4.16; from 6.0.0 before 6.0.13; from 6.1.0 before 6.1.3; from 6.2.0 before 6.2.4
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch
  • us-government-resource

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.