Security mailing lists by PureSourceCode

CVE-2023-34092

HIGH 7.5CVSS 3.1

Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)

Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default fs.deny settings (['.env', '.env.*', '*.{crt,pem}']). Only users explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.

Published
1 Jun 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-50CWE-706
Also known as
GHSA-353f-5xf4-qw67
Sources
NVDJSONOSV GHSA-353f-5xf4-qw67JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 3.0.2, < 3.2.7 3.2.7
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 4.0.0, < 4.0.5 4.0.5
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 4.1.0, < 4.1.5 4.1.5
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 4.2.0, < 4.2.3 4.2.3
NVD vitejs vite
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
>= 4.3.0, < 4.3.9 4.3.9
NVD vitejs vite
cpe:2.3:a:vitejs:vite:2.9.15:*:*:*:*:node.js:*:*
= 2.9.15
OSV npm vite < 2.9.16 2.9.16
OSV npm vite >= 3.0.2, < 3.2.7 3.2.7
OSV npm vite >= 4.0.0, < 4.0.5 4.0.5
OSV npm vite >= 4.1.0, < 4.1.5 4.1.5
OSV npm vite >= 4.2.0, < 4.2.3 4.2.3
OSV npm vite >= 4.3.0, < 4.3.9 4.3.9

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 1 Jun 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.